ERROR: LoadForm Pop-up w/out Params in URL
When the loadForm function is used to open a form in a pop-up it will throw an error if NO parameters are included in the URL. If I include a dummy parameter (such as dummy=1) then it will not give me the error.
The function should not require parameters in the URL.
Here is my full error:
Uncaught TypeError: Cannot read property 'split' of undefined at $.(anonymous function).(anonymous function).isOriginalUrl (http://dev.civicrmdev/sites/all/modules/civicrm/js/crm.ajax.js?pd7a7l:167:34) at $.(anonymous function).(anonymous function).isOriginalUrl (http://dev.civicrmdev/sites/all/modules/civicrm/bower_components/jquery-ui/jquery-ui.js?pd7a7l:144:25) at HTMLDivElement.<anonymous> (http://dev.civicrmdev/sites/all/modules/civicrm/bower_components/jquery-ui/jquery-ui.js?pd7a7l:256:40) at Function.each (http://dev.civicrmdev/sites/all/modules/civicrm/bower_components/jquery/dist/jquery.js?pd7a7l:370:19) at jQuery.fn.init.each (http://dev.civicrmdev/sites/all/modules/civicrm/bower_components/jquery/dist/jquery.js?pd7a7l:137:17) at jQuery.fn.init.$.fn.(anonymous function) [as crmSnippet] (http://dev.civicrmdev/sites/all/modules/civicrm/bower_components/jquery-ui/jquery-ui.js?pd7a7l:236:10) at HTMLDivElement.<anonymous> (http://dev.civicrmdev/sites/all/modules/civicrm/js/crm.ajax.js?pd7a7l:441:34) at HTMLDivElement.dispatch (http://dev.civicrmdev/sites/all/modules/civicrm/bower_components/jquery/dist/jquery.js?pd7a7l:5226:27) at HTMLDivElement.elemData.handle (http://dev.civicrmdev/sites/all/modules/civicrm/bower_components/jquery/dist/jquery.js?pd7a7l:4878:28) at Object.trigger (http://dev.civicrmdev/sites/all/modules/civicrm/bower_components/jquery/dist/jquery.js?pd7a7l:5130:12) isOriginalUrl @ crm.ajax.js?pd7a7l:167 (anonymous) @ jquery-ui.js?pd7a7l:144 (anonymous) @ jquery-ui.js?pd7a7l:256 each @ jquery.js?pd7a7l:370 each @ jquery.js?pd7a7l:137 $.fn.(anonymous function) @ jquery-ui.js?pd7a7l:236 (anonymous) @ crm.ajax.js?pd7a7l:441 dispatch @ jquery.js?pd7a7l:5226 elemData.handle @ jquery.js?pd7a7l:4878 trigger @ jquery.js?pd7a7l:5130 (anonymous) @ jquery.js?pd7a7l:5860 each @ jquery.js?pd7a7l:370 each @ jquery.js?pd7a7l:137 trigger @ jquery.js?pd7a7l:5859 (anonymous) @ crm.ajax.js?pd7a7l:262 fire @ jquery.js?pd7a7l:3232 fireWith @ jquery.js?pd7a7l:3362 done @ jquery.js?pd7a7l:9840 callback @ jquery.js?pd7a7l:10311 XMLHttpRequest.send (async) send @ jquery.js?pd7a7l:10254 ajax @ jquery.js?pd7a7l:9738 jQuery.(anonymous function) @ jquery.js?pd7a7l:9890 getJSON @ jquery.js?pd7a7l:9871 refresh @ crm.ajax.js?pd7a7l:242 (anonymous) @ jquery-ui.js?pd7a7l:144 (anonymous) @ jquery-ui.js?pd7a7l:256 each @ jquery.js?pd7a7l:370 each @ jquery.js?pd7a7l:137 $.fn.(anonymous function) @ jquery-ui.js?pd7a7l:236 CRM.loadPage @ crm.ajax.js?pd7a7l:330 CRM.loadForm @ crm.ajax.js?pd7a7l:355 (anonymous) @ sgt_sgDcGroupManage.js?r=RMsXR:66 dispatch @ jquery.js?pd7a7l:5226 elemData.handle @ jquery.js?pd7a7l:4878