syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject [4/4] syncope git commit: Adjusting links to work with latest AngularJS
Date Mon, 04 Jun 2018 09:28:18 GMT
Adjusting links to work with latest AngularJS


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/bfcc23cb
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/bfcc23cb
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/bfcc23cb

Branch: refs/heads/master
Commit: bfcc23cbbb39d376848010520e6cc18f5a1b7f05
Parents: 234529a
Author: Francesco Chicchiriccò <ilgrosso@apache.org>
Authored: Mon Jun 4 11:27:55 2018 +0200
Committer: Francesco Chicchiriccò <ilgrosso@apache.org>
Committed: Mon Jun 4 11:28:04 2018 +0200

----------------------------------------------------------------------
 .../src/main/resources/META-INF/resources/app/views/self.html    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/bfcc23cb/client/enduser/src/main/resources/META-INF/resources/app/views/self.html
----------------------------------------------------------------------
diff --git a/client/enduser/src/main/resources/META-INF/resources/app/views/self.html b/client/enduser/src/main/resources/META-INF/resources/app/views/self.html
index cedb21c..defab42 100644
--- a/client/enduser/src/main/resources/META-INF/resources/app/views/self.html
+++ b/client/enduser/src/main/resources/META-INF/resources/app/views/self.html
@@ -75,12 +75,12 @@ under the License.
           </div>
         </div>
         <div class="text-center" ng-show="$root.isSelfRegAllowed()">
-          <a href="javascript:void(0);" class="btn btn-link" ng-click="selfCreate()" id="register">
+          <a href="#" class="btn btn-link" ng-click="$event.preventDefault();selfCreate();"
id="register">
             {{ 'SELFREGISTRATION' | translate}}
           </a>
         </div>
         <div class="text-center" ng-show="$root.isPwdResetAllowed()">
-          <a href="javascript:void(0);" class="btn btn-link" ng-click="passwordReset()"
id="passwordreset">
+          <a href="#" class="btn btn-link" ng-click="$event.preventDefault();passwordReset();"
id="passwordreset">
             {{ 'PASSWORDRESET' | translate}}
           </a>
         </div>


Mime
View raw message