Merged [47009]: Calls bind using Prototype Event.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60169 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Hayden Smith 2008-08-08 04:37:10 +00:00
parent f2a2903c0e
commit 587394879e

View File

@ -84,7 +84,7 @@ LeftPane.prototype = {
var callback = function() {
Form.Element.enable(this);
statusMessage("Record created","good");
}.bind(e);
}.bind(Event.element(e));
$('Form_EditForm').updateCMSContent(el, openTab, link, callback);
Event.stop(e);