From 6f2b6319dfe7cefcd477f596b71823ed452cfbb6 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Thu, 16 Feb 2012 15:35:05 +0530 Subject: [PATCH 1/2] file display issue --- js/all-app.js | 3 ++- version.num | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/js/all-app.js b/js/all-app.js index e0da79b072..31208a1012 100644 --- a/js/all-app.js +++ b/js/all-app.js @@ -2200,7 +2200,8 @@ this.make();} wn.widgets.form.sidebar.Attachment=function(parent,filedet,frm){filedet=filedet.split(',') this.filename=filedet[0];this.fileid=filedet[1];this.frm=frm;var me=this;this.wrapper=$a(parent,'div','sidebar-comment-message');this.remove_fileid=function(){var doc=locals[me.frm.doctype][me.frm.docname];var fl=doc.file_list.split('\n');new_fl=[];for(var i=0;i Date: Fri, 17 Feb 2012 10:38:49 +0530 Subject: [PATCH 2/2] img url bug --- js/all-app.js | 2 +- js/all-web.js | 2 +- version.num | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/js/all-app.js b/js/all-app.js index 31208a1012..44f9a839a2 100644 --- a/js/all-app.js +++ b/js/all-app.js @@ -427,7 +427,7 @@ return"";else return decodeURIComponent(results[1]);},get_dict:function(){var d={} var t=window.location.href.split('?')[1];if(!t)return d;if(t.indexOf('#')!=-1)t=t.split('#')[0];if(!t)return d;t=t.split('&');for(var i=0;i