[IMP]remove unnecessary code.
bzr revid: vme@tinyerp.com-20120615130245-0ckjqkh99liirdo7
This commit is contained in:
@@ -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(){
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user