server/bo_client/app/models/document.js
changeset 339 766af1228b05
parent 327 13564bb13ccc
child 528 aa4fc985bf64
--- a/server/bo_client/app/models/document.js	Sun Oct 16 22:23:31 2016 +0530
+++ b/server/bo_client/app/models/document.js	Sun Oct 16 23:19:57 2016 +0530
@@ -9,7 +9,7 @@
 
     title: DS.attr('string'),
 
-    language: DS.attr('string'),
+    languages: DS.attr({defaultValue: function() { return []; }}),
 
     publishers: DS.attr({defaultValue: function() { return []; }}),