Index: trunk/phase3/resources/jquery/jquery.client.js |
— | — | @@ -183,10 +183,10 @@ |
184 | 184 | // Unknown, so we assume it's working |
185 | 185 | return true; |
186 | 186 | } |
187 | | - var name = map[dir][profile.name]; |
188 | | - for ( var condition in name ) { |
189 | | - var op = name[condition][0]; |
190 | | - var val = name[condition][1]; |
| 187 | + var conditions = map[dir][profile.name]; |
| 188 | + for ( var i = 0; i < conditions.length; i++ ) { |
| 189 | + var op = conditions[i][0]; |
| 190 | + var val = conditions[i][1]; |
191 | 191 | if ( val === false ) { |
192 | 192 | return false; |
193 | 193 | } else if ( typeof val == 'string' ) { |