[IMP]show reset button on debug mode.
bzr revid: vme@tinyerp.com-20120907131149-4z5vjfha0bfi8rb7
This commit is contained in:
parent
cd0be77ffa
commit
4fc67d7a5d
|
@ -17,7 +17,10 @@ instance.web.form.DashBoard = instance.web.form.FormWidget.extend({
|
|||
start: function() {
|
||||
var self = this;
|
||||
this._super.apply(this, arguments);
|
||||
|
||||
|
||||
if(!this.session.debug)
|
||||
this.$el.find(".oe_dashboard_links button:first").css("display", "none");
|
||||
|
||||
this.$el.find('.oe_dashboard_column').sortable({
|
||||
connectWith: '.oe_dashboard_column',
|
||||
handle: '.oe_header',
|
||||
|
|
Loading…
Reference in New Issue