Index: trunk/extensions/SemanticForms/libs/SF_ajax_form_preview.js |
— | — | @@ -239,6 +239,5 @@ |
240 | 240 | } |
241 | 241 | } |
242 | 242 | |
243 | | - |
244 | | -if (wgAction=='formedit' || wgPageName == 'Special:AddData' || wgPageName == 'Special:EditData') |
| 243 | +if (wgAction=='formedit' || wgCanonicalSpecialPageName == 'AddData' || wgCanonicalSpecialPageName == 'EditData') |
245 | 244 | addOnloadHook(ajaxFormPreviewInit); |