Bug fix
authorArtem Motchanyi <a.motchanyi@samsung.com>
Thu, 31 Aug 2017 13:58:39 +0000 (16:58 +0300)
committerArtem Motchanyi <a.motchanyi@samsung.com>
Thu, 31 Aug 2017 13:58:39 +0000 (16:58 +0300)
tv-widget/ui/scripts/controllers/devices_controller.js

index 998807b..9c812d7 100644 (file)
@@ -267,7 +267,7 @@ function DevicesController() {
 }
 
 DevicesController.getDeviceId = function() {
-    return $(Layout.Page.DEVICE).data("id");
+    return $(Layout.Page.DEVICE).attr("data-id");
 }
 
 DevicesController.getDeviceType = function(deviceType) {