Fixed manifest and website

This commit is contained in:
Anand Doshi 2014-06-09 13:22:47 +05:30
parent cdfa9a371d
commit edb9efd9a6
3 changed files with 3 additions and 2 deletions

View File

@ -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

View File

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

View File

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