You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2011/09/28 10:31:54 UTC

svn commit: r1176784 - /ofbiz/trunk/framework/images/webapp/images/selectall.js

Author: hansbak
Date: Wed Sep 28 08:31:53 2011
New Revision: 1176784

URL: http://svn.apache.org/viewvc?rev=1176784&view=rev
Log:
make edit in place also work with quotes

Modified:
    ofbiz/trunk/framework/images/webapp/images/selectall.js

Modified: ofbiz/trunk/framework/images/webapp/images/selectall.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/selectall.js?rev=1176784&r1=1176783&r2=1176784&view=diff
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/selectall.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/selectall.js Wed Sep 28 08:31:53 2011
@@ -658,6 +658,7 @@ function ajaxInPlaceEditDisplayField(ele
     jElement.editable(function(value, settings){
         // removes all line breaks from the value param, because the parseJSON Function can't work with line breaks
     	value = value.replace(/\n/g, " ");
+    	value = value.replace(/\"/g,""");
 
         var resultField = jQuery.parseJSON('{"' + settings.name + '":"' + value + '"}');
         // merge both parameter objects together