mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-10 07:01:21 +00:00
GUAC-800: Migrate to JSON for protocol descriptions. Use full Forms instead of simply Fields for protocol parameters (allow sections).
This commit is contained in:
@@ -54,13 +54,13 @@ angular.module('rest').factory('Protocol', [function defineProtocol() {
|
||||
this.title = template.title;
|
||||
|
||||
/**
|
||||
* An array of all known parameters for this protocol, their types,
|
||||
* and other information.
|
||||
* An array of forms containing all known parameters for this protocol,
|
||||
* their types, and other information.
|
||||
*
|
||||
* @type Field[]
|
||||
* @type Form[]
|
||||
* @default []
|
||||
*/
|
||||
this.parameters = template.parameters || [];
|
||||
this.forms = template.forms || [];
|
||||
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user