From 47a12894e01b0235b6e8b5d4e1e4849f9ccb77cb Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Fri, 20 Jan 2012 13:55:48 +0530 Subject: [PATCH] removed mclose --- js/legacy/form.compressed.js | 2 +- js/legacy/widgets/form/form.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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