function promptForSave(evt, src) { return confirm('Do you wish to change the contents from "' + src.prevText + '" to "' + src.editWrapper.getText() + '"'); } function toolBarActionHandler(btn, src) { alert(btn.clickAction + ' by ' + src.id); }