mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Merge pull request #768 from danherd/develop
Fix 'File was changed' modal
This commit is contained in:
commit
dda922c723
@ -484,13 +484,13 @@
|
||||
|
||||
var popup = $form.data('oc.popup')
|
||||
|
||||
$(popup.$target).on('click', 'button[data-action=reload]', function(){
|
||||
$(popup.$content).on('click', 'button[data-action=reload]', function(){
|
||||
popup.hide()
|
||||
|
||||
reloadForm(form)
|
||||
})
|
||||
|
||||
$(popup.$target).on('click', 'button[data-action=save]', function(){
|
||||
$(popup.$content).on('click', 'button[data-action=save]', function(){
|
||||
popup.hide()
|
||||
|
||||
$('input[name=templateForceSave]', $form).val(1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user