if(id=="updatecategory"){
update_form.send(url, method, function(){
grid_1.clearAndLoad(url);
dhtmlx.message("Product group successfully updated.");
});
}
I select a product to update and load the details to a form. Once I clicked update, a dhtmlx.message is shown. My problem is:
1st update: single dhtmlx.message is shown
ex. Product group successfully updated.
2nd update: dhtmlx.message doubles
ex.
Product group successfully updated.
Product group successfully updated.
3rd update: thrice and so on.
I want the dhtmlx.message to show only once when i click the update button.