Ticket #5583: interface-fix2.diff
| File interface-fix2.diff, 4.6 kB (added by filosofo, 6 months ago) |
|---|
-
wp-includes/js/jquery/interface-fix.js
old new -
wp-includes/script-loader.php
old new 80 80 81 81 $this->add( 'jquery', '/wp-includes/js/jquery/jquery.js', false, '1.2.2b2'); 82 82 $this->add( 'jquery-form', '/wp-includes/js/jquery/jquery.form.js', array('jquery'), '2.02'); 83 $this->add( 'interface', '/wp-includes/js/jquery/interface.js', array('jquery'), '1.2' ); 83 $this->add( 'interface-orig', '/wp-includes/js/jquery/interface.js', array('jquery'), '1.2' ); 84 $this->add( 'interface', '/wp-includes/js/jquery/interface-fix.js', array('interface-orig'), '1.2' ); 84 85 $this->add( 'dimensions', '/wp-includes/js/jquery/jquery.dimensions.min.js', array('jquery'), '1.1.2'); 85 86 $this->add( 'suggest', '/wp-includes/js/jquery/suggest.js', array('dimensions'), '1.1'); 86 87 $this->add( 'schedule', '/wp-includes/js/jquery/jquery.schedule.js', array('jquery'), '20'); -
wp-admin/js/widgets.js
old new 102 102 103 103 $('a.widget-control-add').click( addClick ); 104 104 105 var widgetSortable;106 var widgetSortableInit = function() {107 try { // a hack to make sortables work in jQuery 1.2+ and IE7108 $('#current-sidebar .widget-control-list').SortableDestroy();109 } catch(e) {}110 widgetSortable = $('#current-sidebar .widget-control-list').Sortable( {111 accept: 'widget-sortable',112 helperclass: 'sorthelper',113 handle: 'h4.widget-title',114 onStop: widgetSortableInit115 } );116 }117 118 105 // initialize sortable 119 widgetSortableInit(); 120 106 var widgetSortable = $('#current-sidebar .widget-control-list').Sortable( { 107 accept: 'widget-sortable', 108 helperclass: 'sorthelper', 109 handle: 'h4.widget-title' 110 } ); 121 111 });
