<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.webos-internals.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Highbrow</id>
	<title>WebOS Internals - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.webos-internals.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Highbrow"/>
	<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/wiki/Special:Contributions/Highbrow"/>
	<updated>2026-04-17T01:47:19Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Patch_Enable_LED_Notifications&amp;diff=8569</id>
		<title>Patch Enable LED Notifications</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Patch_Enable_LED_Notifications&amp;diff=8569"/>
		<updated>2010-01-19T19:22:54Z</updated>

		<summary type="html">&lt;p&gt;Highbrow: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{template:patch}}&lt;br /&gt;
'''A Common Complaint: '''&lt;br /&gt;
This patch doesn't work for me on a Spanish Pre updated to 1.3.1. After applying it, the Screen &amp;amp; Lock application  display the new option and  doesn't allow to change the &amp;quot;Secure unblock&amp;quot; and &amp;quot;brightness&amp;quot; properties.&lt;br /&gt;
On an imported German o2 device in Switzerland I get the same behaviour as described above with 1.3.1.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
'''And the answer to it: ''' A localized application has localized versions of the HTML files. Now when you change the English version only, and the Spanish or German version is displayed, the following happens: Not only will you not see the changes (that is the obvious part), the JavaScript adding a listener to ''blinkAlerts'' will not find that element and throw, thereby failing to initialize the page. The solution is to modify /usr/palm/applications/com.palm.app.screenlock/resources/de_de/views/securityconfig/securityconfig-scene.html instead (for each language besides de_de ideally).&lt;br /&gt;
 &lt;br /&gt;
This patch needs a rooted Pre to manually make these changes though a command line.&lt;br /&gt;
&lt;br /&gt;
Two files need to be modified.&lt;br /&gt;
&lt;br /&gt;
/usr/palm/applications/com.palm.app.screenlock/app/controllers/securityconfig-assistant.js&lt;br /&gt;
&lt;br /&gt;
Uncomment lines 54,55,248-251 (291-294 on 1.3.1).&lt;br /&gt;
&lt;br /&gt;
Here is what the files should look like:&lt;br /&gt;
&amp;lt;source lang=text&amp;gt;&lt;br /&gt;
Lines 54/55:&lt;br /&gt;
		//this.controller.setupWidget('blinkAlerts', this.onOffToggleOpt, this.ledThrobberToggleModel);&lt;br /&gt;
		//Mojo.Event.listen($('blinkAlerts'),'mojo-property-change', this.toggleLEDThrobber.bindAsEventListener(this));&lt;br /&gt;
&lt;br /&gt;
Should be changed to: &lt;br /&gt;
		this.controller.setupWidget('blinkAlerts', this.onOffToggleOpt, this.ledThrobberToggleModel);&lt;br /&gt;
		Mojo.Event.listen($('blinkAlerts'),'mojo-property-change', this.toggleLEDThrobber.bindAsEventListener(this));&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=text&amp;gt;&lt;br /&gt;
Lines 248-251 (291-294 in webOS 1.3.1):&lt;br /&gt;
                /*if (payload.LEDThrobberEnabled != undefined) {&lt;br /&gt;
			this.ledThrobberToggleModel.value = payload.LEDThrobberEnabled;&lt;br /&gt;
			this.controller.modelChanged(this.ledThrobberToggleModel, this);&lt;br /&gt;
		}*/&lt;br /&gt;
&lt;br /&gt;
Should be changed to:&lt;br /&gt;
                if (payload.LEDThrobberEnabled != undefined) {&lt;br /&gt;
			this.ledThrobberToggleModel.value = payload.LEDThrobberEnabled;&lt;br /&gt;
			this.controller.modelChanged(this.ledThrobberToggleModel, this);&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/usr/palm/applications/com.palm.app.screenlock/app/views/securityconfig/securityconfig-scene.html:&lt;br /&gt;
&lt;br /&gt;
Uncomment 92-97  and 101-103 (97-102 and 106-108 in webOS 1.3.1).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=text&amp;gt;&lt;br /&gt;
Lines 92-97 (97-102 in 1.3.1):&lt;br /&gt;
                        &amp;lt;!--&amp;lt;div class=&amp;quot;palm-row last&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;div class=&amp;quot;palm-row-wrapper&amp;quot;&amp;gt;&lt;br /&gt;
					&amp;lt;div x-mojo-element=&amp;quot;ToggleButton&amp;quot; id=&amp;quot;blinkAlerts&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
					&amp;lt;div class=&amp;quot;title capitalize&amp;quot; x-mojo-loc=''&amp;gt;Blink notifications&amp;lt;/div&amp;gt;&lt;br /&gt;
				&amp;lt;/div&amp;gt;&lt;br /&gt;
			&amp;lt;/div&amp;gt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Should be changed to:&lt;br /&gt;
                        &amp;lt;div class=&amp;quot;palm-row last&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;div class=&amp;quot;palm-row-wrapper&amp;quot;&amp;gt;&lt;br /&gt;
					&amp;lt;div x-mojo-element=&amp;quot;ToggleButton&amp;quot; id=&amp;quot;blinkAlerts&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
					&amp;lt;div class=&amp;quot;title capitalize&amp;quot; x-mojo-loc=''&amp;gt;Blink notifications&amp;lt;/div&amp;gt;&lt;br /&gt;
				&amp;lt;/div&amp;gt;&lt;br /&gt;
			&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=text&amp;gt;&lt;br /&gt;
Lines 101-103 (106-108 in 1.3.1):&lt;br /&gt;
        &amp;lt;!--&amp;lt;div class=&amp;quot;palm-info-text single&amp;quot; x-mojo-loc=''&amp;gt;&lt;br /&gt;
		The gesture area blinks when new notifications arrive.&lt;br /&gt;
	&amp;lt;/div&amp;gt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Should be changed to:&lt;br /&gt;
        &amp;lt;div class=&amp;quot;palm-info-text single&amp;quot; x-mojo-loc=''&amp;gt;&lt;br /&gt;
		The gesture area blinks when new notifications arrive.&lt;br /&gt;
	&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Highbrow</name></author>
	</entry>
</feed>