remove dead code; handle listselection
This commit is contained in:
parent
2c57b043cd
commit
c6613c30f6
1 changed files with 1 additions and 10 deletions
|
@ -493,16 +493,6 @@ oml.ui.mainMenu = function() {
|
|||
that.replaceMenu('listMenu', getListMenu());
|
||||
that.replaceMenu('editMenu', getEditMenu());
|
||||
that.replaceMenu('findMenu', getFindMenu());
|
||||
/*
|
||||
var action = Ox.startsWith(ui._list, ':') && ui._list != ':'
|
||||
? 'enableItem' : 'disableItem';
|
||||
that[
|
||||
ui._list && !Ox.endsWith(ui._list, ':')
|
||||
? 'enableItem' : 'disableItem'
|
||||
]('duplicatelist');
|
||||
that[action]('editlist');
|
||||
that[action]('deletelist');
|
||||
*/
|
||||
},
|
||||
oml_iconinfo: function(data) {
|
||||
// ...
|
||||
|
@ -517,6 +507,7 @@ oml.ui.mainMenu = function() {
|
|||
}
|
||||
},
|
||||
oml_listselection: function(data) {
|
||||
that.replaceMenu('listMenu', getListMenu());
|
||||
that.replaceMenu('editMenu', getEditMenu());
|
||||
},
|
||||
oml_listsort: function(data) {
|
||||
|
|
Loading…
Reference in a new issue