From 95f07565b9a3b2dbc666f6362b71b4cd74e30193 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Tue, 22 Oct 2013 15:05:27 +0200 Subject: [PATCH] Set the default value for domain screen to null --- src/screen.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/screen.js b/src/screen.js index 4fbebe5e7a..03923b0aac 100644 --- a/src/screen.js +++ b/src/screen.js @@ -141,7 +141,7 @@ this.new_group(); this.current_view = null; this.current_record = null; - this.domain = attributes.domain; + this.domain = attributes.domain || null; this.limit = attributes.limit || Sao.config.limit; this.offset = 0; this.search_count = 0;