Bug 16239: Followup - remove unusable js from cateditor-ui.inc
authorJosef Moravec <josef.moravec@gmail.com>
Tue, 10 Jan 2017 10:45:36 +0000 (10:45 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 13 Jan 2017 14:41:24 +0000 (14:41 +0000)
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc

index 14e9023..83a0890 100644 (file)
@@ -775,12 +775,6 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr
                     $(this).height( $(window).height() * .8 - $(this).prevAll('.modal-header').height() );
                 } );
             }, 100);
-
-//            $("#advanced-search-ui, #search-results-ui, #macro-ui").css( {
-//                marginLeft: function() {
-//                    return -($(this).width() / 2);
-//               }
-//           } );
         }
 
         $( '#macro-ui' ).on( 'shown.bs.modal', function() {