Commit 25bdf8addec803cfd30c5ff277d4f0b91292577f

Authored by Igor Kulikov
1 parent b951314b

UI: IE11 layout fixes.

... ... @@ -16,7 +16,7 @@
16 16
17 17 -->
18 18 <div flex layout="column" style="margin-top: -10px;">
19   - <div flex style="text-transform: uppercase; padding-bottom: 10px;">{{vm.item.type}}</div>
  19 + <div style="text-transform: uppercase; padding-bottom: 10px;">{{vm.item.type}}</div>
20 20 <div class="tb-small" ng-show="vm.isAssignedToCustomer()">{{'asset.assignedToCustomer' | translate}} '{{vm.item.assignedCustomer.title}}'</div>
21 21 <div class="tb-small" ng-show="vm.isPublic()">{{'asset.public' | translate}}</div>
22 22 </div>
... ...
... ... @@ -77,8 +77,8 @@ export default function AssignAssetToCustomerController(customerService, assetSe
77 77
78 78 function assign() {
79 79 var tasks = [];
80   - for (var assetId in assetIds) {
81   - tasks.push(assetService.assignAssetToCustomer(vm.customers.selection.id.id, assetIds[assetId]));
  80 + for (var i=0;i<assetIds.length;i++) {
  81 + tasks.push(assetService.assignAssetToCustomer(vm.customers.selection.id.id, assetIds[i]));
82 82 }
83 83 $q.all(tasks).then(function () {
84 84 $mdDialog.hide();
... ...
... ... @@ -77,8 +77,8 @@ export default function AssignDeviceToCustomerController(customerService, device
77 77
78 78 function assign() {
79 79 var tasks = [];
80   - for (var deviceId in deviceIds) {
81   - tasks.push(deviceService.assignDeviceToCustomer(vm.customers.selection.id.id, deviceIds[deviceId]));
  80 + for (var i=0;i<deviceIds.length;i++) {
  81 + tasks.push(deviceService.assignDeviceToCustomer(vm.customers.selection.id.id, deviceIds[i]));
82 82 }
83 83 $q.all(tasks).then(function () {
84 84 $mdDialog.hide();
... ...
... ... @@ -16,7 +16,7 @@
16 16
17 17 -->
18 18 <div flex layout="column" style="margin-top: -10px;">
19   - <div flex style="text-transform: uppercase; padding-bottom: 10px;">{{vm.item.type}}</div>
  19 + <div style="text-transform: uppercase; padding-bottom: 10px;">{{vm.item.type}}</div>
20 20 <div class="tb-small" ng-show="vm.isAssignedToCustomer()">{{'device.assignedToCustomer' | translate}} '{{vm.item.assignedCustomer.title}}'</div>
21 21 <div class="tb-small" ng-show="vm.isPublic()">{{'device.public' | translate}}</div>
22 22 </div>
... ...
... ... @@ -16,7 +16,7 @@
16 16
17 17 -->
18 18 <!DOCTYPE html>
19   -<html ng-app="thingsboard" ng-strict-di>
  19 +<html ng-app="thingsboard" ng-strict-di style="width: 100%;">
20 20 <head>
21 21 <title ng-bind="pageTitle"></title>
22 22 <base href="/" />
... ...