mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
New JSON Editor
This commit is contained in:
parent
dae32f72bf
commit
019e3f5d0c
@ -90,7 +90,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
enableFormTranslation("generalConfForm", "generalConfForm");
|
enableFormTranslation("generalConfForm", "editor_holder");
|
||||||
|
|
||||||
$("[type='checkbox']").bootstrapSwitch();
|
$("[type='checkbox']").bootstrapSwitch();
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
* @param {String} formID
|
* @param {String} formID
|
||||||
*/
|
*/
|
||||||
function enableFormTranslation(tokenPrefix, formID) {
|
function enableFormTranslation(tokenPrefix, formID) {
|
||||||
var $inputs = $("#" + formID + " :input");
|
var $inputs = $("#" + formID + " label");
|
||||||
|
|
||||||
$inputs.each(function() {
|
$inputs.each(function() {
|
||||||
console.log("InputID: " + $(this).attr('id'));
|
console.log("InputID: " + $(this).attr('id'));
|
||||||
|
@ -826,7 +826,7 @@
|
|||||||
"port" :
|
"port" :
|
||||||
{
|
{
|
||||||
"type" : "integer",
|
"type" : "integer",
|
||||||
"description" : "Port",
|
"title" : "Port",
|
||||||
"required" : true
|
"required" : true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user