New answers tagged ajax
For clarity, this is how I addressed the problem above. Wrapping the function calls in a function that explicitly waits until the client context is loaded helped to delay the AJAX calls long enough to make sure that they all were executed successfully. No need to use async:false in the AJAX. //writes CSS classes to body script based on explicitly checked ...
see if you can use 'async : false' in your ajax call and verify the logs to validate that the function is being called for all the 8 users.
Unfortunately I was not able to get this working like I originally intended, so I was forced to refresh site using: SP.UI.ModalDialog.RefreshPage(SP.UI.DialogResult.OK); This was not so bad since the user only sees the site refresh and not the entire SharePoint.
For filtering you are missing a $ in your URL: var url = SiteURL+"_vti_bin/listdata.svc/"+currentList+"?$filter=Id eq '"+refID + "'"; But, to get item by ID with ListData.svc you should provide an URL like this: http://thesiteUrl/_vti_bin/listdata.svc/listName(1) Where listName is the name of the list, and 1 is the ID of the item to retrieve, so in ...
Clearing all browser setting from IE resolved this; Setting (gear) -> Internet Options -> Advanced -> Reset. Check the box to clear all data.
Top 50 recent answers are included