diff options
Diffstat (limited to 'addons/website_slides/static/src/js/slides_upload.js')
| -rw-r--r-- | addons/website_slides/static/src/js/slides_upload.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/website_slides/static/src/js/slides_upload.js b/addons/website_slides/static/src/js/slides_upload.js index b3953f12571..29d5e230ec8 100644 --- a/addons/website_slides/static/src/js/slides_upload.js +++ b/addons/website_slides/static/src/js/slides_upload.js @@ -355,12 +355,12 @@ var SlideDialog = Widget.extend({ values.website_published = true; } this.$('.oe_slides_upload_loading').show(); - this.$('.modal-footer, .modal-body').hide(); + this.$('footer.modal-footer, main.modal-body').hide(); ajax.jsonRpc("/slides/add_slide", 'call', values).then(function (data) { if (data.error) { self.display_alert(data.error); self.$('.oe_slides_upload_loading').hide(); - self.$('.modal-footer, .modal-body').show(); + self.$('footer.modal-footer, main.modal-body').show(); } else { window.location = data.url; |
