From f36aee2c6ba1d2034bf1cad3881b2630627702c5 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Sat, 5 May 2012 20:05:58 +0530 Subject: [PATCH 1/3] fix in contact address saving issue --- erpnext/utilities/doctype/contact/contact.js | 2 +- js/all-app.js | 9 ++++----- js/all-web.js | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/erpnext/utilities/doctype/contact/contact.js b/erpnext/utilities/doctype/contact/contact.js index 9244b79fc3..ae06ed4203 100644 --- a/erpnext/utilities/doctype/contact/contact.js +++ b/erpnext/utilities/doctype/contact/contact.js @@ -15,7 +15,7 @@ // along with this program. If not, see . //--------- ONLOAD ------------- -cur_frm.cscript.onload = function(doc, cdt, cdn) { +cur_frm.cscript.onload = function(doc, cdt, cdn) { if(doc.customer) cur_frm.add_fetch('customer', 'customer_name', 'customer_name'); if(doc.supplier) cur_frm.add_fetch('supplier', 'supplier_name', 'supplier_name'); diff --git a/js/all-app.js b/js/all-app.js index 97ece36d5c..65ca12478c 100644 --- a/js/all-app.js +++ b/js/all-app.js @@ -1314,7 +1314,7 @@ LocalDB.delete_doc=function(dt,dn){var doc=get_local(dt,dn);for(var ndt in local delete locals[dt][dn];} function get_local(dt,dn){return locals[dt]?locals[dt][dn]:null;} LocalDB.sync=function(list){if(list._kl)list=expand_doclist(list);for(var i=0;i' +(cur_frm.message_after_save?cur_frm.message_after_save:'Your information has been sent. Thank you!') +'';return;} -if(!me.meta.istable){me.refresh();} +if(!me.meta.istable){me.refresh(r.docname);} if(call_back){call_back(r);}} var me=this;var ret_fn_err=function(r){var doc=locals[me.doctype][me.docname];me.savingflag=false;ret_fn(r);} this.savingflag=true;if(this.docname&&validated){scroll(0,0);return this.savedoc(save_action,ret_fn,ret_fn_err);}} diff --git a/js/all-web.js b/js/all-web.js index 24ee8f4aaf..00d396acfe 100644 --- a/js/all-web.js +++ b/js/all-web.js @@ -758,7 +758,7 @@ LocalDB.delete_doc=function(dt,dn){var doc=get_local(dt,dn);for(var ndt in local delete locals[dt][dn];} function get_local(dt,dn){return locals[dt]?locals[dt][dn]:null;} LocalDB.sync=function(list){if(list._kl)list=expand_doclist(list);for(var i=0;i Date: Mon, 7 May 2012 10:43:18 +0530 Subject: [PATCH 2/3] remove unsupported for google --- erpnext/selling/page/selling_home/selling_home.html | 4 ++-- unsupported.html | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/erpnext/selling/page/selling_home/selling_home.html b/erpnext/selling/page/selling_home/selling_home.html index e6865526cc..2b3414e615 100644 --- a/erpnext/selling/page/selling_home/selling_home.html +++ b/erpnext/selling/page/selling_home/selling_home.html @@ -93,11 +93,11 @@ title = "Analyze Sales and Purchase trends and slice them based on item, customer, groups etc" href="#!Report/Profile/Trend Analyzer">Trend Analyzer - --> diff --git a/unsupported.html b/unsupported.html index b770badd31..95967f6a17 100644 --- a/unsupported.html +++ b/unsupported.html @@ -1,10 +1,13 @@ - ERPNext - Uprade your browser + Online ERP, Open Source ERP, ERPNext - Uprade your browser
+

ERPNext is a complete easy to use web based ERP system that includes accounting + inventory, sales, purchase, CRM, projects and a lot more. +

Upgrade Your Browser

ERPNext requires a modern web browser to function correctly

Supported browsers are: From 406585c921c308613670027a7699a9c85e51ebbe Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Mon, 7 May 2012 11:22:03 +0530 Subject: [PATCH 3/3] changed html doctype --- js/all-app.js | 15 --------------- js/all-web.js | 15 --------------- 2 files changed, 30 deletions(-) diff --git a/js/all-app.js b/js/all-app.js index 65ca12478c..782707acb8 100644 --- a/js/all-app.js +++ b/js/all-app.js @@ -1,19 +1,4 @@ -/* - * lib/js/lib/history/history.min.js - */ -/* - * jQuery hashchange event - v1.3 - 7/21/2010 - * http://benalman.com/projects/jquery-hashchange-plugin/ - * - * Copyright (c) 2010 "Cowboy" Ben Alman - * Dual licensed under the MIT and GPL licenses. - * http://benalman.com/about/license/ - */ -(function($,e,b){var c="hashchange",h=document,f,g=$.event.special,i=h.documentMode,d="on"+c in e&&(i===b||i>7);function a(j){j=j||location.href;return"#"+j.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(j){return j?this.bind(c,j):this.trigger(c)};$.fn[c].delay=50;g[c]=$.extend(g[c],{setup:function(){if(d){return false}$(f.start)},teardown:function(){if(d){return false}$(f.stop)}});f=(function(){var j={},p,m=a(),k=function(q){return q},l=k,o=k;j.start=function(){p||n()};j.stop=function(){p&&clearTimeout(p);p=b};function n(){var r=a(),q=o(m);if(r!==m){l(m=r,q);$(e).trigger(c)}else{if(q!==m){location.href=location.href.replace(/#.*/,"")+q}}p=setTimeout(n,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var q,r;j.start=function(){if(!q){r=$.fn[c].src;r=r&&r+a();q=$('