summaryrefslogtreecommitdiff
path: root/addons/website/static/src/css/editor.sass
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2013-11-06 16:24:12 +0100
committerXavier Morel <xmo@openerp.com>2013-11-06 16:24:12 +0100
commit20899155c5881f2ca1a576b01fb68da876e6e2a9 (patch)
treebb1ca7a64fe4ac6facaddd2cc88d07e2a0af8c67 /addons/website/static/src/css/editor.sass
parent21ffca33c524ce063f958a29343eb10b46e4a32b (diff)
[IMP] during image upload, disable save button
hide it and replace it with a button telling the user what we're currently doing (uploading the image). Leave the possibility of discarding the whole thing and going away though. bzr revid: xmo@openerp.com-20131106152412-eb283vghb18aafyr
Diffstat (limited to 'addons/website/static/src/css/editor.sass')
-rw-r--r--addons/website/static/src/css/editor.sass7
1 files changed, 7 insertions, 0 deletions
diff --git a/addons/website/static/src/css/editor.sass b/addons/website/static/src/css/editor.sass
index 7ec41b2e760..f7ca4dc8cd2 100644
--- a/addons/website/static/src/css/editor.sass
+++ b/addons/website/static/src/css/editor.sass
@@ -219,6 +219,13 @@ ul.oe_menu_editor
.modal .image-preview
margin-bottom: 0.5em
+.modal.nosave .modal-footer
+ button.save
+ display: none
+ button.wait
+ display: inline-block !important
+ visibility: visible !important
+
// wrapper positioned relatively for drag&drop widget which is disabled below.
// Breaks completely horribly crazy products listing page, so take it out.
.cke_widget_wrapper