Fixed manifest and website
This commit is contained in:
parent
cdfa9a371d
commit
edb9efd9a6
@ -16,4 +16,5 @@ recursive-include erpnext *.md
|
||||
recursive-include erpnext *.png
|
||||
recursive-include erpnext *.py
|
||||
recursive-include erpnext *.svg
|
||||
recursive-include erpnext/public *
|
||||
recursive-exclude * *.pyc
|
||||
|
@ -11,7 +11,7 @@ cur_frm.cscript.refresh = function(doc, cdt, cdn) {
|
||||
|
||||
if(!doc.__islocal && doc.show_in_website) {
|
||||
cur_frm.appframe.add_button("View In Website", function() {
|
||||
window.open(doc.page_name);
|
||||
window.open(doc.__onload.website_route);
|
||||
}, "icon-globe");
|
||||
}
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ cur_frm.cscript.refresh = function(doc) {
|
||||
|
||||
if(!doc.__islocal && doc.show_in_website) {
|
||||
cur_frm.appframe.add_button("View In Website", function() {
|
||||
window.open(doc.page_name);
|
||||
window.open(doc.__onload.website_route);
|
||||
}, "icon-globe");
|
||||
}
|
||||
cur_frm.cscript.edit_prices_button();
|
||||
|
Loading…
Reference in New Issue
Block a user