load all js and css like before in desk.html

This commit is contained in:
Anand Doshi 2015-03-06 13:17:26 +05:30
parent ec5ec60764
commit e514323be4
6 changed files with 0 additions and 11 deletions

View File

@ -14,8 +14,6 @@ frappe.pages['purchase-analytics'].on_page_load = function(wrapper) {
frappe.add_breadcrumbs("Buying");
}
frappe.assets.views["Report"]();
erpnext.PurchaseAnalytics = frappe.views.TreeGridReport.extend({
init: function(wrapper) {
this._super({

View File

@ -14,8 +14,6 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
frappe.assets.views["Report"]();
erpnext.AccountTreeGrid = frappe.views.TreeGridReport.extend({
init: function(wrapper, title) {
this._super({

View File

@ -1,8 +1,6 @@
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
// License: GNU General Public License v3. See license.txt
frappe.assets.views["Report"]();
erpnext.StockGridReport = frappe.views.TreeGridReport.extend({
get_item_warehouse: function(warehouse, item) {
if(!this.item_warehouse[item]) this.item_warehouse[item] = {};

View File

@ -14,8 +14,6 @@ frappe.pages['sales-analytics'].on_page_load = function(wrapper) {
};
frappe.assets.views["Report"]();
erpnext.SalesAnalytics = frappe.views.TreeGridReport.extend({
init: function(wrapper) {
this._super({

View File

@ -16,5 +16,4 @@ frappe.pages['stock-analytics'].on_page_load = function(wrapper) {
};
frappe.assets.views["Report"]();
frappe.require("assets/erpnext/js/stock_analytics.js");

View File

@ -15,8 +15,6 @@ frappe.pages['support-analytics'].on_page_load = function(wrapper) {
}
frappe.assets.views["Report"]();
erpnext.SupportAnalytics = frappe.views.GridReportWithPlot.extend({
init: function(wrapper) {
this._super({