mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 17:04:47 +00:00
made all.js and all.css and all guests share same session
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
wn.provide('erpnext.topbar');
|
||||
wn.require('lib/css/bootstrap/bootstrap-topbar.css');
|
||||
wn.require('lib/js/bootstrap/bootstrap-dropdown.js');
|
||||
|
||||
/*
|
||||
<li class="dropdown">\
|
||||
@@ -45,7 +43,6 @@ erpnext.topbar.TopBar = Class.extend({
|
||||
}
|
||||
});
|
||||
|
||||
erpnext.topbar.topbar = new erpnext.topbar.TopBar();
|
||||
|
||||
// footer
|
||||
erpnext.Footer = Class.extend({
|
||||
@@ -72,4 +69,7 @@ erpnext.Footer = Class.extend({
|
||||
}
|
||||
});
|
||||
|
||||
erpnext.footer = new erpnext.Footer();
|
||||
$(document).bind('startup', function() {
|
||||
erpnext.footer = new erpnext.Footer();
|
||||
erpnext.topbar.topbar = new erpnext.topbar.TopBar();
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user