CC-3174 : showbuilder

changing show context menus
This commit is contained in:
Naomi Aro 2012-02-08 13:12:08 +01:00
parent 581f86a1de
commit a2f38b94a2
2 changed files with 34 additions and 4 deletions

View file

@ -389,6 +389,17 @@ $(window).load(function() {
};
oItems.edit.callback = callback;
}
//define a delete callback.
if (oItems.del !== undefined) {
callback = function() {
$.get(oItems.edit.url, {format: "json", id: data.id}, function(json){
beginEditShow(json);
});
};
oItems.del.callback = callback;
}
items = oItems;
}