remove reading-dialog decollation remnants from UI
Tara L Andrews [Mon, 20 Jan 2014 22:44:03 +0000 (23:44 +0100)]
root/js/relationship.js
root/src/relate.tt

index 1e75e20..cf40f3e 100644 (file)
@@ -1284,11 +1284,6 @@ $(document).ready(function () {
   // function for reading form dialog should go here; 
   // just hide the element for now if we don't have morphology
   if( can_morphologize ) {
-         if( editable ) {
-                 $('#reading_decollate_witnesses').multiselect();
-         } else {
-                 $('#decollation').hide();
-         }
          $('#reading-form').dialog({
                autoOpen: false,
                // height: 400,
@@ -1344,8 +1339,6 @@ $(document).ready(function () {
                },
                open: function() {
                        $(".ui-widget-overlay").css("background", "none");
-                       $('#reading_decollate_witnesses').multiselect("refresh");
-                       $('#reading_decollate_witnesses').multiselect("uncheckAll");
                        $("#dialog_overlay").show();
                        $('#reading_status').empty();
                        $("#dialog_overlay").height( $("#enlargement_container").height() );
index 0bfe058..f97c638 100644 (file)
@@ -120,15 +120,6 @@ $(document).ready(function () {
                                <label for="reading_grammar_invalid">This word's grammar cannot be right</label>
                        </div>
                        <br/><br/>
-                       <!-- Collation correction option goes here -->
-                       <div id="decollation">
-                               <label for="reading_decollate">Detach this reading with the selected witnesses:</label>
-                               <select id="reading_decollate_witnesses" name="reading_decollate_witnesses"
-                                       multiple="multiple">
-                               <!-- Fill in relevant reading witnesses here -->
-                               </select>
-                               <button id="reading_decollate" onclick="decollate(); return false;">Uncollate</button>
-                       </div>
                        <!-- Morphological options go here -->
                        <div id="normalization" class="morph">
                                <label for="reading_normal_form">Normalized form: </label>