{"action":"opened","issue":{"url":"https://api.github.com/repos/ColFusion/ColfusionWeb/issues/23","labels_url":"https://api.github.com/repos/ColFusion/ColfusionWeb/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/ColFusion/ColfusionWeb/issues/23/comments","events_url":"https://api.github.com/repos/ColFusion/ColfusionWeb/issues/23/events","html_url":"https://github.com/ColFusion/ColfusionWeb/issues/23","id":107078931,"number":23,"title":"Replace `my_pligg_base` in js files with `ColFusionAppPath`","user":{"login":"EvgenyKarataev","id":442457,"avatar_url":"https://avatars.githubusercontent.com/u/442457?v=3","gravatar_id":"","url":"https://api.github.com/users/EvgenyKarataev","html_url":"https://github.com/EvgenyKarataev","followers_url":"https://api.github.com/users/EvgenyKarataev/followers","following_url":"https://api.github.com/users/EvgenyKarataev/following{/other_user}","gists_url":"https://api.github.com/users/EvgenyKarataev/gists{/gist_id}","starred_url":"https://api.github.com/users/EvgenyKarataev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EvgenyKarataev/subscriptions","organizations_url":"https://api.github.com/users/EvgenyKarataev/orgs","repos_url":"https://api.github.com/users/EvgenyKarataev/repos","events_url":"https://api.github.com/users/EvgenyKarataev/events{/privacy}","received_events_url":"https://api.github.com/users/EvgenyKarataev/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ColFusion/ColfusionWeb/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-17T21:36:56Z","updated_at":"2015-09-17T21:36:56Z","closed_at":null,"body":"`my_pligg_base` is used in both php/tpl and js files to refer to the base ulr of the project, however since we gradually moving away form php, we should also replace the usage of `my_pligg_base` variable with our js global variable, e.g. `ColFusionAppPath`.\r\n\r\nHere is on example where `my_pligg_base` is used in ```importWizard.js``` file\r\n```\"<img src='\" + my_pligg_base + \"/templates/wistie/images/ajax-loader_cp.gif'/>\";```\r\n\r\nBut there are many other references to `my_pligg_base` in js files."}}