#44 code style

--HG--
extra : convert_revision : svn%3Ab267cdba-c1da-11dd-874b-8bacd04a0a74/trunk%4061
This commit is contained in:
ondrej.zara
2009-11-10 13:54:05 +00:00
parent 09da598d90
commit ec6c49dc5b
+2 -2
View File
@@ -2326,7 +2326,7 @@ SQL.Designer.prototype.getTypeIndex = function(label) {
var types = window.DATATYPES.getElementsByTagName("type");
for (var i=0;i<types.length;i++) {
var l = types[i].getAttribute("label");
if (l) this.typeIndex[l] = i;
if (l) { this.typeIndex[l] = i; }
}
}
return this.typeIndex[label];
@@ -2334,8 +2334,8 @@ SQL.Designer.prototype.getTypeIndex = function(label) {
SQL.Designer.prototype.getFKTypeFor = function(typeIndex) {
if (!this.fkTypeFor) {
var types = window.DATATYPES.getElementsByTagName("type");
this.fkTypeFor = {};
var types = window.DATATYPES.getElementsByTagName("type");
for (var i=0;i<types.length;i++) {
this.fkTypeFor[i] = i;
var fk = types[i].getAttribute("fk");