diff options
author | rb7147 <rb7147@att.com> | 2017-12-11 16:25:23 -0500 |
---|---|---|
committer | rb7147 <rb7147@att.com> | 2017-12-11 16:27:04 -0500 |
commit | 0368cb99d6108970d172d4dc7145c67e4524b4a9 (patch) | |
tree | 76c4d303c34d4b1146835bf520dcd776badcfc53 /POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/Editor/templates | |
parent | 428150834ee60899b9a8da019bae3c8bf009adf1 (diff) |
Resolved the Policy GUI Javascript issues
Issue-ID: POLICY-440
Change-Id: I44d5304699da19bee7ae2997565802fc7d44cb0e
Signed-off-by: rb7147 <rb7147@att.com>
Diffstat (limited to 'POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/Editor/templates')
-rw-r--r-- | POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/Editor/templates/modals.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/Editor/templates/modals.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/Editor/templates/modals.html index 77006002c..1c33839f2 100644 --- a/POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/Editor/templates/modals.html +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/Editor/templates/modals.html @@ -43,7 +43,7 @@ </div> <div class="modal-footer"> <button type="button" class="btn btn-pedefault" data-dismiss="modal" ng-click="refresh();" ng-disabled="temp.inprocess">Cancel</button> - <button type="submit" class="btn btn-primary" ng-disabled="temp.inprocess" autofocus="autofocus">Delete</button> + <button type="submit" class="btn btn-primary" ng-disabled="!temp.model.versions" autofocus="autofocus">Delete</button> </div> </form> </div> @@ -140,7 +140,7 @@ </div> <div class="modal-footer"> <button type="button" class="btn btn-pedefault" data-dismiss="modal" ng-disabled="temp.inprocess">Cancel</button> - <button type="submit" class="btn btn-primary" ng-disabled="temp.inprocess">Save</button> + <button type="submit" class="btn btn-primary" ng-disabled="temp.tempModel.content.highestVersion === temp.tempModel.content.activeVersion">Save</button> </div> </form> </div> @@ -160,6 +160,7 @@ <div class="modal-body"> <label class="radio">Enter new Policy Name to Clone <b>{{temp.model.name}}</b></label> <input class="form-control" ng-model="temp.tempModel.name" autofocus="autofocus"> + <div ng-include data-src="'error-bar'" class="clearfix"></div> </div> <div class="modal-footer"> <button type="button" class="btn btn-pedefault" data-dismiss="modal" ng-disabled="temp.inprocess">Cancel</button> @@ -277,7 +278,7 @@ </div> <div class="detail-sources"> <code class="mr5"><b>Destination:</b>{{temp.tempModel.fullPath()}}</code> - <a href="" ng-click="openNavigator(temp)"><span class="label label-primary">move</span></a> + <a href="" ng-click="openNavigator(temp)"><span class="label label-primary">change</span></a> </div> </div> </div> |