This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement confirmation message when cancel version copy
- Loading branch information
Alex Eng
committed
Aug 11, 2014
1 parent
01b9df8
commit e05ef92
Showing
6 changed files
with
23 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -179,13 +179,13 @@ | |
</p> | ||
|
||
<s:div styleClass="l--push-bottom-half" id="version-info"> | ||
<s:fragment rendered="#{versionHomeAction.status eq 'ACTIVE'}"> | ||
<s:fragment rendered="#{versionHome.instance.status eq 'ACTIVE'}"> | ||
<h1 class="l--push-all-0"> | ||
<i class="i--small i--version txt--neutral i--left"></i> | ||
#{versionHomeAction.versionSlug} | ||
</h1> | ||
</s:fragment> | ||
<s:fragment rendered="#{versionHomeAction.status ne 'ACTIVE'}"> | ||
<s:fragment rendered="#{versionHome.instance.status ne 'ACTIVE'}"> | ||
<h1 class="l--push-all-0 txt--neutral"> | ||
<i class="i--small i--version txt--neutral i--left"></i> | ||
#{versionHomeAction.versionSlug} | ||
|
@@ -254,7 +254,7 @@ | |
styleClass="panel__header__actions l--push-right-half l--push-bottom-0" | ||
rendered="#{s:hasPermission(versionHomeAction.version, 'update')}"> | ||
|
||
<a href="javascript:void(0)" onclick="cancelCopyTrans()" | ||
<a href="javascript:void(0)" onclick="if(confirm('#{msgs['jsf.copyVersion.cancel.confirm']}')) {cancelCopyTrans()};" | ||
This comment has been minimized.
Sorry, something went wrong.
carlosmunoz
Member
|
||
title="#{msgs['jsf.CopyTrans.cancel']}" | ||
class="button--small button--link">#{msgs['jsf.Cancel']}</a> | ||
|
||
|
1 comment
on commit e05ef92
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Finished review for this commit.
Lets add a statement here letting the user know that they can change it manually.