fix in startup.js

This commit is contained in:
Anand Doshi 2012-04-30 21:06:31 +05:30
parent 5c2a792d03
commit 563fcc1b05

View File

@ -106,7 +106,7 @@ erpnext.startup.start = function() {
</div>', { expiry_string: expiry_string })); </div>', { expiry_string: expiry_string }));
} else if (diff < 0) { } else if (diff < 0) {
$('header').append(repl('<div class="expiry-info"> \ $('header').append(repl('<div class="expiry-info"> \
This ERPNext subscription <b>has expired</b> and should be deleted. \ This ERPNext subscription <b>has expired</b>. \
</div>', { expiry_string: expiry_string })); </div>', { expiry_string: expiry_string }));
} }
} }
@ -215,12 +215,3 @@ erpnext.send_message = function(opts) {
} }
}); });
} }
erpnext.hide_naming_series = function() {
if(cur_frm.fields_dict.naming_series) {
hide_field('naming_series');
if(cur_frm.doc.__islocal) {
unhide_field('naming_series');
}
}
}