Updated Modello Common libraries 22/29222/1
authorAlice Liu <alice.liu@intel.com>
Thu, 23 Oct 2014 01:27:30 +0000 (09:27 +0800)
committerAlice Liu <alice.liu@intel.com>
Thu, 23 Oct 2014 01:27:30 +0000 (09:27 +0800)
Package version up (3.0.33).

Change-Id: I994025c4262a6b95d6f9267365da4c75c6b33185
Signed-off-by: Alice Liu <alice.liu@intel.com>
package/changelog
package/pkginfo.manifest
web-ui-fw/0.0.2/0.0.2_Common/original/css/car/components/alphabetBookmark/alphabetBookmark.js
web-ui-fw/0.0.2/0.0.2_Common/original/js/services/carIndicator.js

index 450f45a..202324f 100644 (file)
@@ -1,3 +1,7 @@
+* 3.0.33
+- Updated Modello Common libraries
+== Alice Liu <alice.liu@intel.com> 2014-10-23
+
 * 3.0.32
 - Updated Modello Common libraries
 == Alice Liu <alice.liu@intel.com> 2014-10-19
index c1ced78..c3a3b77 100644 (file)
@@ -1,4 +1,4 @@
-Version:3.0.32
+Version:3.0.33
 Maintainer: Wenchao Wang<wenchao.wang@intel.com>
 
 Package:ivi-3.0-web-add-ons
index 0cbce3e..7b6d198 100644 (file)
@@ -38,11 +38,10 @@ var AlphabetBookmark = {
          */
         touch: function (index) {
             "use strict";
-            return;
-            // $(".alphabetBookmarkItem").removeClass("fontColorSelected");
-            // var tabId = "#item_" + index;
-            // $(tabId).addClass("fontColorSelected");
-            // $("#alphabetBookmarkList").trigger("letterClick", this.abModel[index].text);
+            $(".alphabetBookmarkItem").removeClass("fontColorSelected");
+            var tabId = "#item_" + index;
+            $(tabId).addClass("fontColorSelected");
+            $("#alphabetBookmarkList").trigger("letterClick", this.abModel[index].text);
         },
         /**
          * Fills the {{#crossLink "AlphabetBookmark/abModel:property"}}{{/crossLink}} from {{#crossLink "AlphabetBookmark/abcd:property"}}{{/crossLink}} and shows the rendered default template on the screen.
index 2b3a84d..6e9b07c 100644 (file)
@@ -525,10 +525,11 @@ CarIndicator.prototype.onDataUpdate = function(data, self, lisenersID) {
                for ( var property in data) {
                        if (data.hasOwnProperty(property)) {
                                mapping = undefined;
-                               if (property !== "time" && property !== "zone" && property.search("Sequence") === -1) {
+                               if (property !== "time" && property !== "zone" && property !== "interfaceName" && property.search("Sequence") === -1) {
                                        for ( var element in self._mappingTable) {
-                                               if (self._mappingTable.hasOwnProperty(element)) {
-                                                       if (self._mappingTable[element].attributeName.toLowerCase() === property.toLowerCase()) {
+                                               if (self._mappingTable.hasOwnProperty(element) && self._mappingTable[element].interfaceName !== undefined) {
+                                                       if (self._mappingTable[element].interfaceName.toLowerCase() === data.interfaceName.toLowerCase() &&
+                                                               self._mappingTable[element].attributeName.toLowerCase() === property.toLowerCase()) {
                                                                /* jshint bitwise: false */
                                                                if (!(zone ^ self._mappingTable[element].zone)) {
                                                                        /* jshint bitwise: true */