Page MenuHomePhabricator

semanticforms JS error when I [Edit with form] my user page
Closed, ResolvedPublic

Description

Quoting spage:


Hi, when I go to my user page and click [Edit with form] my user page, my Firefox 20 console shows a JavaScript error

TypeError: setting a property that has only a getter
newBtnElement[attribute.name] = attribute.value;

adding &debug=1 to the URL shows it's coming from line 198 of https://translatewiki.net/w/extensions/SemanticForms/libs/SF_preview.js

I do get a form with a nifty Google Mapsgadget to set my location, but I think due to this JS error other code stops working, so e.g. [Show preview] doesn't work

Chromium doesn't report this error, but it reports 'SecurityError: DOM Exception 18' and Invalid 'X-Frame-Options' errors.


Version: master
Severity: normal
URL: https://translatewiki.net/wiki/Thread:Support/semanticforms_JS_error_when_I_Edit_with_form_my_user_page

Details

Reference
bz49320

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:00 AM
bzimport set Reference to bz49320.

Should be fixed in I06adc26aba1580aba4066b0a0c41f17d8342fd80

Please try out the latest SF development version and see if it works.
If not please re-open the bug.