FSN#32924 Ook delete van modal popup's
svn path=/Website/trunk/; revision=26090
This commit is contained in:
@@ -191,9 +191,9 @@ function scaffolding_edit(model, scf_params)
|
||||
buttons.push(scf_params.edit.buttons[i]);
|
||||
}
|
||||
}
|
||||
buttons.push({title: L("lcl_submit"), action:"scf_submit()", icon: "opslaan.png", singlepress: true });
|
||||
if (modal && model.REST_DELETE && key > 0)
|
||||
buttons.push({title: L("lcl_delete"), action:"scf_delete()", icon: "delete.png", singlepress: true });
|
||||
buttons.push({title: L("lcl_submit"), action:"scf_submit()", icon: "opslaan.png", singlepress: true });
|
||||
buttons.push({title: L("lcl_cancel"), action:"scf_cancel()", icon: "undo.png" });
|
||||
if (model.hashints)
|
||||
buttons.splice(0, 0, {title: L("lcl_hint"), action:"scf_enablehint()", icon: "lightbulb.png" });
|
||||
|
||||
Reference in New Issue
Block a user