summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2013-07-09 03:28:42 (EDT)
committerStephan Born2013-08-29 05:04:53 (EDT)
commitd40c7ba8c31b6b289cb331d85f4b265ba26bfea5 (patch)
treed03c34b787e049b456021f3bfbac546e87d82b2b
parent58e22e7ea57788ad6cce9e01298daec98bd55ea3 (diff)
downloadorg.eclipse.stardust.ui.web-d40c7ba8c31b6b289cb331d85f4b265ba26bfea5.zip
org.eclipse.stardust.ui.web-d40c7ba8c31b6b289cb331d85f4b265ba26bfea5.tar.gz
org.eclipse.stardust.ui.web-d40c7ba8c31b6b289cb331d85f4b265ba26bfea5.tar.bz2
Jira-ID: CRNT-28362
Added scope to m_angularContextUtils.runInAngularContext() for m_dataBasicPropertiesPage.js,m_dataView.js,m_xsdStructuredDataTypeView.js git-svn-id: https://svn.csa.sungard.com/repos/ipp2/product/trunk/stardust/ui.web@65906 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b Signed-off-by: Sidharth Singh <sidharth.singh@sungard.com>
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_dataBasicPropertiesPage.js6
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_dataView.js6
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_xsdStructuredDataTypeView.js4
3 files changed, 8 insertions, 8 deletions
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_dataBasicPropertiesPage.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_dataBasicPropertiesPage.js
index 1c4efef..367fd4c 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_dataBasicPropertiesPage.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_dataBasicPropertiesPage.js
@@ -239,11 +239,11 @@ define(
$scope.watchRegistered = true;
}
}
- });
+ }, m_utils.jQuerySelect("#datatableid").get(0));
} else {
m_angularContextUtils.runInAngularContext(function($scope) {
$scope.dataType = null;
- });
+ }, m_utils.jQuerySelect("#datatableid").get(0));
}
if (data.isReadonly()) {
@@ -267,7 +267,7 @@ define(
// Parse Error
$scope.timestampInputTextError = true;
}
- });
+ }, m_utils.jQuerySelect("#datatableid").get(0));
};
/*
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_dataView.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_dataView.js
index 538d8b3..40048a0 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_dataView.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_dataView.js
@@ -291,11 +291,11 @@ define(
$scope.watchRegistered = true;
}
}
- });
+ }, m_utils.jQuerySelect("#dataTypeTab").get(0));
} else {
m_angularContextUtils.runInAngularContext(function($scope) {
$scope.dataType = null;
- });
+ }, m_utils.jQuerySelect("#dataTypeTab").get(0));
}
};
@@ -315,7 +315,7 @@ define(
// Parse Error
$scope.timestampInputTextError = true;
}
- });
+ }, m_utils.jQuerySelect("#dataTypeTab").get(0));
}
/**
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_xsdStructuredDataTypeView.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_xsdStructuredDataTypeView.js
index 095ff53..130c336 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_xsdStructuredDataTypeView.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_xsdStructuredDataTypeView.js
@@ -198,7 +198,7 @@ define(
return true;
}
- });
+ }, m_utils.jQuerySelect("#configurationTab").get(0));
if (typeDeclaration.getType() === "importedStructuredDataType") {
m_modelerUtils.disableToolbarControl(this.addButton);
@@ -434,7 +434,7 @@ define(
$scope.maxLength = maxVal;
}
}
- });
+ }, m_utils.jQuerySelect("#configurationTab").get(0));
this.updateViewIcon();