You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by er...@apache.org on 2013/04/16 16:27:39 UTC
git commit: [flex-asjs] - FLEX-33496: [FlexJS] Populate id property
of DOM elements at runtime (patch supplied by Tigran Najaryan)
Updated Branches:
refs/heads/develop 2925c3284 -> 1ce653d7d
FLEX-33496: [FlexJS] Populate id property of DOM elements at runtime (patch supplied by Tigran Najaryan)
The title says it all, really :-)
Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/1ce653d7
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/1ce653d7
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/1ce653d7
Branch: refs/heads/develop
Commit: 1ce653d7d8181486dc7bda75a2f05002e0f9c08c
Parents: 2925c32
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Tue Apr 16 16:27:18 2013 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Tue Apr 16 16:27:18 2013 +0200
----------------------------------------------------------------------
.../js/FlexJS/src/org/apache/flex/core/UIBase.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1ce653d7/frameworks/js/FlexJS/src/org/apache/flex/core/UIBase.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/UIBase.js b/frameworks/js/FlexJS/src/org/apache/flex/core/UIBase.js
index 45df41f..07391af 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/UIBase.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/UIBase.js
@@ -105,6 +105,7 @@ org.apache.flex.core.UIBase.prototype.get_id = function() {
org.apache.flex.core.UIBase.prototype.set_id = function(value) {
if (this.id != value)
{
+ this.element.id = value;
this.id = value;
var evt = this.createEvent('idChanged');
this.dispatchEvent(evt);