diff --git a/js/legacy/form.compressed.js b/js/legacy/form.compressed.js index ecd17c0911..c5fff28087 100644 --- a/js/legacy/form.compressed.js +++ b/js/legacy/form.compressed.js @@ -107,7 +107,7 @@ if(this.meta.in_dialog&&!this.parent.dialog.display){if(!this.meta.istable) this.parent.table_form=false;this.parent.dialog.show();} this.parent.last_displayed=this;} _f.Frm.prototype.set_print_heading=function(txt){this.pformat[cur_frm.docname]=txt;} -_f.Frm.prototype.defocus_rest=function(){mclose();if(_f.cur_grid_cell)_f.cur_grid_cell.grid.cell_deselect();cur_page=null;} +_f.Frm.prototype.defocus_rest=function(){if(_f.cur_grid_cell)_f.cur_grid_cell.grid.cell_deselect();cur_page=null;} _f.Frm.prototype.get_doc_perms=function(){var p=[0,0,0,0,0,0];for(var i=0;i