mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merged r81461 from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@81965 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
f237d26f14
commit
60735fd813
@ -706,7 +706,7 @@ JS;
|
|||||||
FormResponse::add("$('Form_EditForm').reloadIfSetTo($page->ID);");
|
FormResponse::add("$('Form_EditForm').reloadIfSetTo($page->ID);");
|
||||||
}
|
}
|
||||||
|
|
||||||
FormResponse::status_message($statusMessage, 'good');
|
if($statusMessage) FormResponse::status_message($statusMessage, 'good');
|
||||||
FormResponse::add("$('Form_EditForm').elements.StageURLSegment.value = '$JS_stageURL';");
|
FormResponse::add("$('Form_EditForm').elements.StageURLSegment.value = '$JS_stageURL';");
|
||||||
FormResponse::add("$('Form_EditForm').elements.LiveURLSegment.value = '$JS_liveURL';");
|
FormResponse::add("$('Form_EditForm').elements.LiveURLSegment.value = '$JS_liveURL';");
|
||||||
FormResponse::add("$('Form_EditForm').notify('PagePublished', $('Form_EditForm').elements.ID.value);");
|
FormResponse::add("$('Form_EditForm').notify('PagePublished', $('Form_EditForm').elements.ID.value);");
|
||||||
|
Loading…
Reference in New Issue
Block a user