mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-20 05:29:18 +00:00
Fixed manifest and website
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user