{"action":"created","issue":{"url":"https://api.github.com/repos/scottdurow/SparkleXrm/issues/52","labels_url":"https://api.github.com/repos/scottdurow/SparkleXrm/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/scottdurow/SparkleXrm/issues/52/comments","events_url":"https://api.github.com/repos/scottdurow/SparkleXrm/issues/52/events","html_url":"https://github.com/scottdurow/SparkleXrm/issues/52","id":74412147,"number":52,"title":"SparkleXrmUI.js - Syntax Error","user":{"login":"BobHatcher","id":12090526,"avatar_url":"https://avatars.githubusercontent.com/u/12090526?v=3","gravatar_id":"","url":"https://api.github.com/users/BobHatcher","html_url":"https://github.com/BobHatcher","followers_url":"https://api.github.com/users/BobHatcher/followers","following_url":"https://api.github.com/users/BobHatcher/following{/other_user}","gists_url":"https://api.github.com/users/BobHatcher/gists{/gist_id}","starred_url":"https://api.github.com/users/BobHatcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BobHatcher/subscriptions","organizations_url":"https://api.github.com/users/BobHatcher/orgs","repos_url":"https://api.github.com/users/BobHatcher/repos","events_url":"https://api.github.com/users/BobHatcher/events{/privacy}","received_events_url":"https://api.github.com/users/BobHatcher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-05-08T16:08:41Z","updated_at":"2015-05-08T16:49:45Z","closed_at":null,"body":"Scott, the issue I had and asked about on Twitter I successfully traced to a syntax error in the following:\r\n\r\n```javascript\r\n                validationIndicator.position({\r\n                                            my: 'left bottom',\r\n                                            at: 'left top',\r\n                                            collision: 'fit fit',\r\n                                            of: activeCellNode\r\n                                        })\r\n                                        .show({\r\n                                        effect: 'blind'\r\n                                        })\r\n                                        .delay( 500000 )\r\n                                        .hide({\r\n                                            effect: 'fade',\r\n                                            duration: 'slow', \r\n                                        },\r\n                                            function() {\r\n                                                $( this ).remove();\r\n                                                \r\n                                            });\r\n                                        ;\r\n```\r\n\r\nI'm still learning this so please forgive me that I am not precisely sure where the root of this error is.\r\n\r\nThere is a comma after ```duration: 'slow'``` which causes a parsing error. I simply took the comma out by opening your managed package (using 0.2.0 because I am on 2011) and editing the SparkleXrmUI.js at line 2791.\r\n\r\nI believe this is still in there, since I found the same issue in a recent clone - /DebugWeb/WebResources/sparkle_/js/SparkleXrmUI.js\r\nat line 208.\r\n\r\nWhen rendering in a standalone window, this caused the whole SparkleXrm object to be undefined. Not sure why this works when running inside a standard entity window.\r\n\r\nThank you for a great toolset. I'm still coming up to speed on it but I'm already using it to great effect for the 2nd time."},"comment":{"url":"https://api.github.com/repos/scottdurow/SparkleXrm/issues/comments/100293441","html_url":"https://github.com/scottdurow/SparkleXrm/issues/52#issuecomment-100293441","issue_url":"https://api.github.com/repos/scottdurow/SparkleXrm/issues/52","id":100293441,"user":{"login":"scottdurow","id":2871121,"avatar_url":"https://avatars.githubusercontent.com/u/2871121?v=3","gravatar_id":"","url":"https://api.github.com/users/scottdurow","html_url":"https://github.com/scottdurow","followers_url":"https://api.github.com/users/scottdurow/followers","following_url":"https://api.github.com/users/scottdurow/following{/other_user}","gists_url":"https://api.github.com/users/scottdurow/gists{/gist_id}","starred_url":"https://api.github.com/users/scottdurow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottdurow/subscriptions","organizations_url":"https://api.github.com/users/scottdurow/orgs","repos_url":"https://api.github.com/users/scottdurow/repos","events_url":"https://api.github.com/users/scottdurow/events{/privacy}","received_events_url":"https://api.github.com/users/scottdurow/received_events","type":"User","site_admin":false},"created_at":"2015-05-08T16:49:45Z","updated_at":"2015-05-08T16:49:45Z","body":"In a form field or grid? When you say not rendering - does it throw an error?\r\nI use date pickers in forms and grids quite a bit and I've not had any trouble."}}