[IMP] website: snippets banner: now user can't remove the picture
bzr revid: chm@openerp.com-20131015095058-ci36cqfm06j9e15s
This commit is contained in:
@@ -1029,6 +1029,10 @@
|
||||
self.$target.carousel();
|
||||
});
|
||||
|
||||
this.$target.on('dblclick', '.item.active .carousel-image img', function (event) {
|
||||
$('#oe_rte_toolbar .cke_button__image .cke_button__image_icon').click();
|
||||
});
|
||||
|
||||
this.rebind_event();
|
||||
},
|
||||
// rebind event to active carousel on edit mode
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
</ol>
|
||||
<div class="carousel-inner">
|
||||
<div class="item image_text active" style="background-image: url('/website/static/src/img/banner/color_splash.jpg')">
|
||||
<div class="container" contenteditable="true">
|
||||
<div class="container">
|
||||
<div class="carousel-caption content">
|
||||
<h2>Your Banner Title</h2>
|
||||
<h3>Click to customize this text</h3>
|
||||
|
||||
Reference in New Issue
Block a user