mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 21:19:19 +00:00
profile: form is now my settings page, removed (Page, profile-settings)
This commit is contained in:
@@ -27,17 +27,9 @@ erpnext.startup.start = function() {
|
||||
console.log('Starting up...');
|
||||
$('#startup_div').html('Starting up...').toggle(true);
|
||||
|
||||
|
||||
erpnext.startup.set_globals();
|
||||
|
||||
if(user != 'Guest'){
|
||||
if(wn.boot.user_background) {
|
||||
erpnext.set_user_background(wn.boot.user_background);
|
||||
}
|
||||
if(wn.boot.profile.defaults.theme) {
|
||||
erpnext.set_theme(wn.boot.profile.defaults.theme[0]);
|
||||
}
|
||||
|
||||
if(user != 'Guest'){
|
||||
erpnext.setup_mousetrap();
|
||||
|
||||
// always allow apps
|
||||
@@ -143,11 +135,6 @@ erpnext.startup.set_periodic_updates = function() {
|
||||
wn.updates.id = setInterval(erpnext.update_messages, 60000);
|
||||
}
|
||||
|
||||
erpnext.set_user_background = function(src) {
|
||||
set_style(repl('#body_div { background: url("files/%(src)s") repeat fixed;}',
|
||||
{src:src}))
|
||||
}
|
||||
|
||||
// subject, sender, description
|
||||
erpnext.send_message = function(opts) {
|
||||
if(opts.btn) {
|
||||
|
||||
Reference in New Issue
Block a user