New JSON Editor

This commit is contained in:
b1rdhous3 2016-08-31 00:22:17 +02:00
parent dae32f72bf
commit 019e3f5d0c
3 changed files with 10 additions and 10 deletions

View File

@ -90,7 +90,7 @@
enableFormTranslation("generalConfForm", "generalConfForm");
enableFormTranslation("generalConfForm", "editor_holder");
$("[type='checkbox']").bootstrapSwitch();

View File

@ -12,7 +12,7 @@
* @param {String} formID
*/
function enableFormTranslation(tokenPrefix, formID) {
var $inputs = $("#" + formID + " :input");
var $inputs = $("#" + formID + " label");
$inputs.each(function() {
console.log("InputID: " + $(this).attr('id'));

View File

@ -826,7 +826,7 @@
"port" :
{
"type" : "integer",
"description" : "Port",
"title" : "Port",
"required" : true
}
},