[FIX] sprurious widgetification and editability of icon elements
authorXavier Morel <xmo@openerp.com>
Wed, 12 Mar 2014 14:19:10 +0000 (15:19 +0100)
committerXavier Morel <xmo@openerp.com>
Wed, 12 Mar 2014 14:19:10 +0000 (15:19 +0100)
commit8ad325614de9b600e73ad40a680b3fb56d1aa298
tree2df7609664d693a67fd87a9a3231aceb5b501e06
parent44523f4679bc8598faaf74d40b4be4924c0e3532
[FIX] sprurious widgetification and editability of icon elements

* tighten widget match: don't match elements with .fa which are also "view
  section" roots (~ editing hosts) as the classes themselves out not be
  editable and the result will thus be odd
* correspondingly, only associate the icon "change" button to instances of the
  ``icons`` widget, other elements bearing ``.fa`` are not editable and should
  be excluded.

bzr revid: xmo@openerp.com-20140312141910-a2apy22qj4wwxsne
addons/website/static/src/js/website.editor.js