return;
}
-
- new Pman.Request({
- url : baseURL + '/Roo/bomitem.php',
- method : 'POST',
- params : {
- _delete : d.data.bomitem_id
- },
- success : function(res) {
- _this.partsgrid.footer.onClick('first');
+ Roo.MessageBox.confirm("Confirm", "Are you sure you want to delete the terms?",
+ function(r) {
+ if (r != 'yes') {
+ return;
+ }
+ new Pman.Request({
+ url : baseURL + '/Roo/terms.php',
+ method : 'POST',
+ params : {
+ _delete : sel.data.terms_id * 1
+ },
+ success : function(res) {
+ _this.grid.footer.onClick('first');
+ }
+ });
+
+ return;
}
- });
+ );
}
}