form.js: save button bugfix

This commit is contained in:
Rushabh Mehta 2012-12-13 13:59:10 +05:30
parent 3d3f778427
commit 5c2fd1a860

View file

@ -282,7 +282,7 @@ _f.Frm.prototype.setup_footer = function() {
f.help_area = $a(this.page_layout.footer,'div');
var b = $btn(f.save_area, 'Save',
function() { cur_frm.save('Save', this); },{marginLeft:'0px'},'green');
function() { cur_frm.save('Save', null, this); },{marginLeft:'0px'},'green');
// show / hide save
f.show_save = function() {