Fix category_id in forms

Fix statuses list
This commit is contained in:
chris committed 2013-07-16 11:41:22 +08:00
1 parent 1c4b66f1cb
commit 62288a71ca
3 files changed
+11 -5

No files matched your search

+5 -1
View File
@@ -31,7 +31,11 @@ module OrbitCategory
def category=(id)
self.buffer_category.destroy if self.buffer_category
self.build_buffer_category(category_id: id)
self.category_id = id
self.write_attribute(:category_id, id)
end
def category_id=(id)
category = id
end
def disable?