[FIX]small issue.

bzr revid: vme@tinyerp.com-20120730094938-hr0et2qgm6jd7xjb
This commit is contained in:
Vidhin Mehta (OpenERP) 2012-07-30 15:19:38 +05:30
parent 8e5a0fa9b0
commit 1fc733b919
1 changed files with 1 additions and 1 deletions

View File

@ -350,7 +350,7 @@ instance.web_view_editor.ViewEditor = instance.web.OldWidget.extend({
this.edit_xml_dialog.$element.find("tr[id=viewedit-" + row_id + "]").addClass('ui-selected');
},
do_parent_img_hide_show: function(img) {
if ($(img).attr('src') == '/web/static/src/img/collapse.gif') {
if (_.str.include($(img).attr('src'), '/web/static/src/img/collapse.gif')) {
$(img).attr('src', '/web/static/src/img/expand.gif');
this.on_expand(img);
} else {