mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MINOR Removed console.debug() from LeftAndMain_right.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@73335 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
590b2a2b9a
commit
a78ce1998e
@ -154,7 +154,7 @@ CMSForm.prototype = {
|
||||
*
|
||||
* @param publish boolean (optional) whether to publish in addition to saving
|
||||
*/
|
||||
save: function(ifChanged, callAfter, action, publish) {console.log(this.action);
|
||||
save: function(ifChanged, callAfter, action, publish) {
|
||||
_AJAX_LOADING = true;
|
||||
// Note: TinyMCE coupling
|
||||
if(typeof tinyMCE != 'undefined') tinyMCE.triggerSave();
|
||||
@ -177,6 +177,7 @@ CMSForm.prototype = {
|
||||
|
||||
var success = function(response) {
|
||||
Ajax.Evaluator(response);
|
||||
|
||||
__form.resetElements();
|
||||
if(__callAfter) __callAfter();
|
||||
if(__form.notify && __form.elements.ID != undefined) __form.notify('PageSaved', __form.elements.ID.value);
|
||||
|
Loading…
Reference in New Issue
Block a user