Summary:
changing page alias breaks cmsms page link plugin
Detailed Description:
When a page alias is changed, the 'Create a link to a CMSMS content page' button
in MicroTiny no longer works. For me, in a clean browser (incognito) it just
shows "Loading..." with the below error in the console. In a "dirty" browser it
sometimes logs me out, other times just doesn't autocomplete.
plugin.min.js:8 Uncaught TypeError: Cannot read property 'label' of null
at Object.success (plugin.min.js:8)
at j (jquery-1.11.1.min.js:2)
at Object.fireWith [as resolveWith] (jquery-1.11.1.min.js:2)
at x (jquery-1.11.1.min.js:4)
at XMLHttpRequest.b (jquery-1.11.1.min.js:4)
Steps to reproduce:
1) Edit a content page (with wysiwyg on) and create a link to another page using
the cmsms link button and submit
2) Edit the page you linked to, change its alias, then submit
3) Go back to the original page and attempt to update the link, using the button
again