You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by mj...@apache.org on 2018/01/30 23:44:21 UTC
[09/50] guacamole-client git commit: GUACAMOLE-197: Move state field
to template file for consistency.
GUACAMOLE-197: Move state field to template file for consistency.
Project: http://git-wip-us.apache.org/repos/asf/guacamole-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/guacamole-client/commit/60b5802c
Tree: http://git-wip-us.apache.org/repos/asf/guacamole-client/tree/60b5802c
Diff: http://git-wip-us.apache.org/repos/asf/guacamole-client/diff/60b5802c
Branch: refs/heads/master
Commit: 60b5802cc70f2513243fc624c39e3870a9481c8f
Parents: fd84e76
Author: Nick Couchman <ni...@yahoo.com>
Authored: Tue Apr 11 10:57:45 2017 -0400
Committer: Nick Couchman <vn...@apache.org>
Committed: Mon Jan 29 17:08:10 2018 -0500
----------------------------------------------------------------------
.../src/main/resources/config/radiusConfig.js | 2 +-
.../src/main/resources/templates/radiusStateField.html | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/guacamole-client/blob/60b5802c/extensions/guacamole-auth-radius/src/main/resources/config/radiusConfig.js
----------------------------------------------------------------------
diff --git a/extensions/guacamole-auth-radius/src/main/resources/config/radiusConfig.js b/extensions/guacamole-auth-radius/src/main/resources/config/radiusConfig.js
index 20ba86c..dab0ffc 100644
--- a/extensions/guacamole-auth-radius/src/main/resources/config/radiusConfig.js
+++ b/extensions/guacamole-auth-radius/src/main/resources/config/radiusConfig.js
@@ -34,7 +34,7 @@ angular.module('guacRadius').config(['formServiceProvider',
formServiceProvider.registerFieldType('GUAC_RADIUS_STATE', {
module : 'guacRadius',
controller : 'radiusStateController',
- template : '<input class="ng-hide" type=hidden ng-model="model" />'
+ templateUrl : 'app/ext/radius/templates/radiusStateField.html'
});
}]);
http://git-wip-us.apache.org/repos/asf/guacamole-client/blob/60b5802c/extensions/guacamole-auth-radius/src/main/resources/templates/radiusStateField.html
----------------------------------------------------------------------
diff --git a/extensions/guacamole-auth-radius/src/main/resources/templates/radiusStateField.html b/extensions/guacamole-auth-radius/src/main/resources/templates/radiusStateField.html
new file mode 100644
index 0000000..be8067c
--- /dev/null
+++ b/extensions/guacamole-auth-radius/src/main/resources/templates/radiusStateField.html
@@ -0,0 +1 @@
+<input type=hidden ng-model="model" />