mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-21 10:19:57 +00:00
started website
This commit is contained in:
@@ -22,8 +22,7 @@ cur_frm.cscript.notify = function(doc, args) {
|
||||
if(user!='Administrator') {
|
||||
return user;
|
||||
} else {
|
||||
var cp = locals['Control Panel']['Control Panel'];
|
||||
return (cp.auto_email_id || 'automail@erpnext.com');
|
||||
return (wn.control_panel.auto_email_id || 'automail@erpnext.com');
|
||||
}
|
||||
})();
|
||||
if(res.send) {
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
<div id="setup_div" class="layout_wrapper"></div>
|
||||
<div id="setup_div" class="layout_wrapper">
|
||||
<div style="margin: 200px auto; text-align: center; color: #888">Loading...</div>
|
||||
</div>
|
||||
@@ -1,9 +1,8 @@
|
||||
pscript.onload_Setup = function() {
|
||||
var parent = $i('setup_div');
|
||||
add_space_holder(parent);
|
||||
|
||||
var callback = function(r,rt){
|
||||
|
||||
$('#setup_div').empty();
|
||||
// header
|
||||
parent.page_head = new PageHeader(parent,'Setup');
|
||||
|
||||
@@ -11,7 +10,6 @@ pscript.onload_Setup = function() {
|
||||
var setup_data = new SetupData(r.message);
|
||||
pscript.setup_make_sections(setup_data);
|
||||
|
||||
remove_space_holder();
|
||||
}
|
||||
$c_obj('Setup Wizard Control','get_country','',callback);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user