LT-370: Repositioning the Add label button

This commit is contained in:
Bruno Alves de Faria committed 2016-11-17 19:14:15 -02:00
1 parent d2095f3cb7
commit bcbd1a4465
8 files changed
+74 -16

No files matched your search

+2 -2
View File
@@ -3,7 +3,7 @@ import { OHIF } from 'meteor/ohif:core';
OHIF.object = {};
// Transforms a shallow object with keys separated by "." into a nested object
OHIF.blaze.getNestedObject = shallowObject => {
OHIF.object.getNestedObject = shallowObject => {
var nestedObject = {};
for (var key in shallowObject) {
var value = shallowObject[key];
@@ -27,7 +27,7 @@ OHIF.blaze.getNestedObject = shallowObject => {
};
// Transforms a nested object into a shallowObject merging its keys with "." character
OHIF.blaze.getShallowObject = nestedObject => {
OHIF.object.getShallowObject = nestedObject => {
var shallowObject = {};
var putValues = function(baseKey, nestedObject, resultObject) {
for (var key in nestedObject) {