Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-5659] MobileWeb: javascript error with switch object on iPhone

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-05-25T03:06:19.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsMobileWeb
Labelsn/a
ReporterMisha Vasko
AssigneeMaxim Negadaylov
Created2011-05-25T02:33:35.000+0000
Updated2017-03-09T20:12:17.000+0000

Description

The javascript error in titanium.js:3481 "NO_MODIFICATION_ALLOWED_ERR:DOM" occurs on Iphone when setted properties titleOn and titleOff in the switch object. Error occurs when switching the switch on iPhone.
win = Ti.UI.currentWindow;

var swit = Ti.UI.createSwitch({
	top: 10,
	left: 10,
	height: 100,
	width: 100,
	titleOn: 'titOn',
	titleOff: 'titOff'
});
win.add(swit);

Comments

  1. Lee Morris 2017-03-09

    Closing ticket as fixed.

JSON Source