META-INF.resources.modules.sys.optinfo.ctrl.optinfo.optdef.remove.js Maven / Gradle / Ivy
define(function(require) {
var Page = require('core/page');
var OptInfoPowerRemove = Page.extend(function() {
// @override
this.submit = function(table, row) {
var index = table.datagrid('getRowIndex', row);
table.datagrid('deleteRow', index);
};
});
return OptInfoPowerRemove;
});