[FIX] website_blog: At one step, it says 'delete the title', but it deletes the whole...
authorChristophe Matthieu <chm@openerp.com>
Tue, 18 Feb 2014 15:11:27 +0000 (16:11 +0100)
committerChristophe Matthieu <chm@openerp.com>
Tue, 18 Feb 2014 15:11:27 +0000 (16:11 +0100)
bzr revid: chm@openerp.com-20140218151127-a6471u9l0jpot6gq

addons/website/static/src/js/website.snippets.editor.js
addons/website_blog/static/src/js/website.tour.blog.js

index 453be32..f537f09 100644 (file)
         },
 
         change_cursor : function () {
-            var _class = this.$target.attr("class");
+            var _class = this.$target.attr("class") || "";
 
             var col = _class.match(/col-md-([0-9-]+)/i);
             col = col ? +col[1] : 0;
index b6701d7..7079c52 100644 (file)
@@ -88,8 +88,8 @@
                 {
                     element:   '.oe_active .oe_snippet_remove',
                     placement: 'top',
-                    title:     _t("Delete the Title"),
-                    content:   _t("From this toolbar you can move, duplicate or delete the selected zone. Click on the garbage can image to delete the title."),
+                    title:     _t("Delete the block"),
+                    content:   _t("From this toolbar you can move, duplicate or delete the selected zone. Click on the garbage can image to delete the block. Or click on the Title and delete it."),
                 },
                 {
                     waitNot:   '.oe_active .oe_snippet_remove:visible',