made all.js and all.css and all guests share same session

This commit is contained in:
Rushabh Mehta
2012-02-14 11:44:13 +05:30
parent bfc03cf8bd
commit afaac60982
13 changed files with 9512 additions and 25 deletions

View File

@@ -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();
})