SPJS-Lookup v1.1.12 not firing Change rules

Home Forums SPJS-Lookup SPJS-Lookup v1.1.12 not firing Change rules

Tagged: 

Viewing 3 reply threads
  • Author
    Posts
    • #22559
      Ivan Wilson
      Participant

        After upgrading from DFFS v4.4.3.45 (SPJS-Lookup v 1.1.11) to DFFS v4.3.55 (SPJS-Lookup v 1.1.12), the Change rule for a field configured with spjs.lookup.init stopped firing. There were no errors in the browser console. Setting the rule to debug did show the rule trigger on load but not on change. Reverting back to DFFS v4.4.3.45 fixed the issue.

        Here is the code we are using to configure the drop down list:

        
        
        spjs.lookup.init({
        	"fieldToConvertToDropdown":[fieldName],	
        	"listName":"Role",
        	"listBaseUrl":"/intranet/hr",
        	"optTextFieldInternalName":"Title",
        	"sortFieldName":"Title",
        	"filterObj":{
        		"on":false,
        		"folder":"", 
        		"CAML":null, 
        		"fin":"",
        		"isLookup":false,
        		"operator":"Neq",
        		"filterVal":"1"
        	},
        	"dropDownDefaultvalue":"...",
        	"addYouOwnValue":{
        		"on":false,
        		"linkText":"Write your own value"
        	},
        	"addToExternalList":{
        		"on":false,
        		"customFunction":null, 
        		"linkText":"Add new item",
        		"saveNewItemText":"Save new item"
        	},
        	"debug":false
        });
      • #22561
        Alexander Bautz
        Keymaster

          Sorry about that – I changed the “change handling” in DFFS v4.4.3.53 and this affected how SPJS-Lookup worked. I’ll fix it in the next release – most likely during the weekend.

          Alexander

        • #22590
          Alexander Bautz
          Keymaster

            Hi,
            I did publish a new version yesterday – did you get a chance to test it?

            Alexander

          • #22636
            Ivan Wilson
            Participant

              Thanks Alexander, works great

          Viewing 3 reply threads
          • You must be logged in to reply to this topic.