mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Fix syntax error in selector
This commit is contained in:
parent
b8db45055c
commit
e12a2709d0
2
client/dist/js/bundle.js
vendored
2
client/dist/js/bundle.js
vendored
@ -68,7 +68,7 @@ return"http://"!=a.substr(0,7)&&(a=t("base").attr("href")+a),window.open(a,"prin
|
||||
|
||||
return i=a?r.default.sprintf(r.default._t("CMSMain.RollbackToVersion"),a):r.default._t("CMSMain.ConfirmRestoreFromLive"),!!confirm(i)&&this._super(e)}}),t(".cms-edit-form .btn-toolbar #Form_EditForm_action_archive").entwine({
|
||||
onclick:function t(e){var n=this.parents("form:first"),a=""
|
||||
return a=n.find("input[name=ArchiveWarningMessage").val().replace(/\\n/g,"\n"),!!confirm(a)&&this._super(e)}}),t(".cms-edit-form .btn-toolbar #Form_EditForm_action_restore").entwine({onclick:function t(e){
|
||||
return a=n.find("input[name=ArchiveWarningMessage]").val().replace(/\\n/g,"\n"),!!confirm(a)&&this._super(e)}}),t(".cms-edit-form .btn-toolbar #Form_EditForm_action_restore").entwine({onclick:function t(e){
|
||||
var n=this.parents("form:first"),a=n.find(":input[name=Version]").val(),i="",s=this.data("toRoot")
|
||||
return i=r.default.sprintf(r.default._t(s?"CMSMain.RestoreToRoot":"CMSMain.Restore"),a),!!confirm(i)&&this._super(e)}}),t(".cms-edit-form .btn-toolbar #Form_EditForm_action_unpublish").entwine({onclick:function t(e){
|
||||
var n=this.parents("form:first"),a=n.find(":input[name=Version]").val(),i=""
|
||||
|
@ -307,7 +307,7 @@ $.entwine('ss', function($){
|
||||
*/
|
||||
onclick: function(e) {
|
||||
var form = this.parents('form:first'), message = '';
|
||||
message = form.find('input[name=ArchiveWarningMessage')
|
||||
message = form.find('input[name=ArchiveWarningMessage]')
|
||||
.val()
|
||||
.replace(/\\n/g, '\n');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user