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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

hansbak-2
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