mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-10 03:23:19 +00:00
Fix tests
This commit is contained in:
@@ -18,11 +18,11 @@ define([
|
||||
initialize: function(options) {
|
||||
options = options || {};
|
||||
|
||||
if (! "name" in options) {
|
||||
if (false === "name" in options) {
|
||||
throw "Missing name attribute in input view";
|
||||
}
|
||||
|
||||
if (! "errorTemplate" in options) {
|
||||
if (false === "errorTemplate" in options) {
|
||||
throw "Missing errorTemplate attribute in input view";
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user