summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2013-08-23 06:32:11 (EDT)
committer Stephan Born2013-09-23 05:02:08 (EDT)
commitd9ee127dd383757f573ff62eeb2f6de4f5d87d47 (patch)
treee08ad2e9f2832e26c7bce1c369bd09eb680b7bdf
parent0926e259d594031de11722513573c03b5b1f7903 (diff)
downloadorg.eclipse.stardust.ui.web-d9ee127dd383757f573ff62eeb2f6de4f5d87d47.zip
org.eclipse.stardust.ui.web-d9ee127dd383757f573ff62eeb2f6de4f5d87d47.tar.gz
org.eclipse.stardust.ui.web-d9ee127dd383757f573ff62eeb2f6de4f5d87d47.tar.bz2
Jira-ID: CRNT-30029
commited the patch for regex for decimal on behalf of Shrikant git-svn-id: https://svn.csa.sungard.com/repos/ipp2/product/trunk/stardust/ui.web@66916 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/views/modeler/dataView.html2
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/views/modeler/processDefinitionView.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/dataView.html b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/dataView.html
index 3b80116..88b2831 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/dataView.html
+++ b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/dataView.html
@@ -133,7 +133,7 @@
<div ng-show="dataType == 'double'">
<input id="doubleInputText" name="doubleInputText" class="rightAligned"
type="text" ng-model="defaultValue" maxlength="620"
- ng-model-onblur ng-pattern="/^[-+]?[0-9]\d{0,308}(\.\d{1,309})?%?$/" />
+ ng-model-onblur ng-pattern="/^[-+]?\d{0,308}(\.\d{1,309})?%?$/" />
<div id="doubleInputTextError"
ng-show="form.doubleInputText.$error.pattern" style="color:red">Not a valid number</div>
</div>
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/processDefinitionView.html b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/processDefinitionView.html
index 5f9b7b6..419457b 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/processDefinitionView.html
+++ b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/processDefinitionView.html
@@ -1047,7 +1047,7 @@
<div ng-show="dataType == 'double'">
<input id="doubleInputText" name="doubleInputText" class="rightAligned"
type="text" ng-model="defaultValue" maxlength="620"
- ng-model-onblur ng-pattern="/^[-+]?[0-9]\d{0,308}(\.\d{1,309})?%?$/" />
+ ng-model-onblur ng-pattern="/^[-+]?\d{0,308}(\.\d{1,309})?%?$/" />
<div id="doubleInputTextError"
ng-show="form.doubleInputText.$error.pattern" style="color:red">Not a valid number</div>
</div>