You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2018/06/04 09:28:18 UTC

[4/4] syncope git commit: Adjusting links to work with latest AngularJS

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ò <il...@apache.org>
Authored: Mon Jun 4 11:27:55 2018 +0200
Committer: Francesco Chicchiriccò <il...@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>