[IMP]remove unnecessary code.

bzr revid: vme@tinyerp.com-20120615130245-0ckjqkh99liirdo7
This commit is contained in:
Vidhin Mehta (OpenERP)
2012-06-15 18:32:45 +05:30
parent 2a51b719c9
commit a97492b20f
2 changed files with 0 additions and 6 deletions
-1
View File
@@ -1633,7 +1633,6 @@ instance.web.search.AddToDashboard = instance.web.search.Input.extend({
this.$element
.on('click', 'h4', this.proxy('show_option'))
.on('submit', 'form', function (e) {e.preventDefault(); self.add_dashboard();});
this.$element.find('.searchview_extended_delete_prop').click(function () {self.$element.toggleClass('oe_opened');});
return this.rpc('/web/searchview/get_all_dashboard', {}, function(r) {self.menu_data = r;}).pipe(this.proxy("render_data"))
},
render_data: function(){
-5
View File
@@ -1421,13 +1421,8 @@
<div t-name="SearchView.addtodashboard" class="oe_searchview_dashboard">
<h4>Add to Dashboard</h4>
<form>
<ul>
<li>
<input placeholder ="Title of new Dashboard item" title = "Title of new Dashboard item" type="text"/>
<button class="oe_apply" type="submit">save</button>
<a style="width: 30%;" class="searchview_extended_delete_prop button">x</a>
</li>
</ul>
</form>
</div>
<t t-name="SearchView.addtodashboard.selection">