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:17 UTC

[3/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/06e5dcd8
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/06e5dcd8
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/06e5dcd8

Branch: refs/heads/2_0_X
Commit: 06e5dcd80ddf6e0d89cc7f2b4b8205a7ba029a56
Parents: f43c1af
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:27:55 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/06e5dcd8/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>