You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2012/04/22 00:25:06 UTC

svn commit: r1328743 - /ofbiz/trunk/framework/images/webapp/images/fieldlookup.js

Author: jleroux
Date: Sat Apr 21 22:25:06 2012
New Revision: 1328743

URL: http://svn.apache.org/viewvc?rev=1328743&view=rev
Log:
Forgot this part in r1328738

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

Modified: ofbiz/trunk/framework/images/webapp/images/fieldlookup.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/fieldlookup.js?rev=1328743&r1=1328742&r2=1328743&view=diff
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/fieldlookup.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/fieldlookup.js Sat Apr 21 22:25:06 2012
@@ -271,15 +271,6 @@ function ConstructLookup(requestUrl, inp
                     return data;
                 },
                 success: function(data) {
-                    //search for <span style="message...> returned from server
-                    var matchFound = data.toString().match(AJAX_SERVER_REPLY_MSG_REGEXPATTERN);
-                    if (matchFound != null) {
-                        jQuery(event.target).parent().css({'display':'none'});
-                        jQuery("#" + lookupId).dialog('close');
-                        alert(matchFound[1].trim());
-                        return;
-                    }
-                    
                     jQuery("#" + lookupId).html(data);
                     
                     lookupFormAction = jQuery("#" + lookupId + " form:first").attr("action");