mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Update editableList apis
This commit is contained in:
@@ -173,17 +173,17 @@
|
||||
}
|
||||
selectField.change();
|
||||
},
|
||||
deleteItem: function(opt) {
|
||||
removeItem: function(opt) {
|
||||
var rules = $("#node-input-rule-container").editableList('items');
|
||||
rules.each(function(i) { $(this).find(".node-input-rule-index").html(i+1); });
|
||||
},
|
||||
resizeItem: resizeRule,
|
||||
updateOrder: function(rules) {
|
||||
sortItems: function(rules) {
|
||||
var rules = $("#node-input-rule-container").editableList('items');
|
||||
rules.each(function(i) { $(this).find(".node-input-rule-index").html(i+1); });
|
||||
},
|
||||
sortable: true,
|
||||
deletable: true
|
||||
removable: true
|
||||
});
|
||||
|
||||
for (var i=0;i<this.rules.length;i++) {
|
||||
|
Reference in New Issue
Block a user