[FIX] exception error message.
authorVaibhav (OpenERP) <vda@tinyerp.com>
Tue, 4 Oct 2011 13:37:53 +0000 (19:07 +0530)
committerVaibhav (OpenERP) <vda@tinyerp.com>
Tue, 4 Oct 2011 13:37:53 +0000 (19:07 +0530)
bzr revid: vda@tinyerp.com-20111004133753-kptuu127azazrmg6

addons/web_calendar/static/src/js/calendar.js

index 9af5130..ce200fe 100644 (file)
@@ -57,7 +57,7 @@ openerp.web_calendar.CalendarView = openerp.web.View.extend({
         this.fields =  this.fields_view.fields;
         
         if (!this.date_start) {
-            throw new Error("Calendar view has none of the following attributes : 'date_start'");
+            throw new Error("Calendar view has not defined 'date_start' attribute.");
         }
 
         //* Calendar Fields *