Ticket #13314: menu_plugin.patch
File menu_plugin.patch, 494 bytes (added by , 9 years ago) |
---|
-
plugins/menu/plugin.js
old new 167 167 listeners = this._.listeners; 168 168 169 169 this.removeAll(); 170 171 if (selection.getRanges().length == 0)172 return;173 174 170 // Call all listeners, filling the list of items to be displayed. 175 171 for ( var i = 0; i < listeners.length; i++ ) { 176 172 var listenerItems = listeners[ i ]( start, selection, path );