Fixing loss of line width control in type field dropdown

before-bootstrap
Candid Dauth 2014-12-26 16:51:33 +01:00
rodzic 5ccf2c18f2
commit 79a37ab00c
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -188,7 +188,7 @@ database.connect(function(err) {
},
addType : function(data, callback) {
if(!utils.stripObject(data, { id: "number", name: "string", type: "string", fields: [ { name: "string", type: "string", default: "string", controlColour: "boolean", options: [ { key: "string", value: "string", colour: "string" } ] }] } ))
if(!utils.stripObject(data, { id: "number", name: "string", type: "string", fields: [ { name: "string", type: "string", default: "string", controlColour: "boolean", controlWidth: "boolean", options: [ { key: "string", value: "string", colour: "string", width: "number" } ] }] } ))
return callback("Invalid parameters.");
if(!socket.writable)