diff --git a/core/doctype/customize_form_field/customize_form_field.txt b/core/doctype/customize_form_field/customize_form_field.txt index fe5ba58607..f378c9a0bc 100644 --- a/core/doctype/customize_form_field/customize_form_field.txt +++ b/core/doctype/customize_form_field/customize_form_field.txt @@ -2,7 +2,7 @@ { "creation": "2013-02-22 01:27:32", "docstatus": 0, - "modified": "2013-03-07 07:03:19", + "modified": "2013-07-10 14:54:06", "modified_by": "Administrator", "owner": "Administrator" }, @@ -37,6 +37,7 @@ "fieldname": "label", "fieldtype": "Data", "hidden": 0, + "in_list_view": 1, "label": "Label", "oldfieldname": "label", "oldfieldtype": "Data", @@ -49,6 +50,7 @@ "fieldname": "fieldtype", "fieldtype": "Select", "hidden": 0, + "in_list_view": 1, "label": "Type", "oldfieldname": "fieldtype", "oldfieldtype": "Select", @@ -62,6 +64,7 @@ "fieldname": "fieldname", "fieldtype": "Data", "hidden": 0, + "in_list_view": 1, "label": "Name", "oldfieldname": "fieldname", "oldfieldtype": "Data", @@ -76,6 +79,7 @@ "fieldname": "options", "fieldtype": "Text", "hidden": 0, + "in_list_view": 1, "label": "Options", "oldfieldname": "options", "oldfieldtype": "Text", @@ -89,6 +93,7 @@ "fieldname": "permlevel", "fieldtype": "Int", "hidden": 0, + "in_list_view": 1, "label": "Perm Level", "oldfieldname": "permlevel", "oldfieldtype": "Int", @@ -101,6 +106,7 @@ "fieldname": "width", "fieldtype": "Data", "hidden": 0, + "in_list_view": 1, "label": "Width", "oldfieldname": "width", "oldfieldtype": "Data", diff --git a/core/doctype/default_home_page/default_home_page.txt b/core/doctype/default_home_page/default_home_page.txt index 9a04bf3bb1..e605380f64 100644 --- a/core/doctype/default_home_page/default_home_page.txt +++ b/core/doctype/default_home_page/default_home_page.txt @@ -2,7 +2,7 @@ { "creation": "2013-02-22 01:27:32", "docstatus": 0, - "modified": "2013-03-07 07:03:20", + "modified": "2013-07-10 14:54:07", "modified_by": "Administrator", "owner": "Administrator" }, @@ -15,6 +15,7 @@ { "doctype": "DocField", "fieldtype": "Link", + "in_list_view": 1, "name": "__common__", "oldfieldtype": "Link", "parent": "Default Home Page", diff --git a/core/doctype/defaultvalue/defaultvalue.txt b/core/doctype/defaultvalue/defaultvalue.txt index a560680b08..3b2fa1c101 100644 --- a/core/doctype/defaultvalue/defaultvalue.txt +++ b/core/doctype/defaultvalue/defaultvalue.txt @@ -2,7 +2,7 @@ { "creation": "2013-02-22 01:27:32", "docstatus": 0, - "modified": "2013-03-07 07:03:20", + "modified": "2013-07-10 14:54:07", "modified_by": "Administrator", "owner": "Administrator" }, @@ -23,6 +23,7 @@ { "doctype": "DocField", "hidden": 0, + "in_list_view": 1, "name": "__common__", "parent": "DefaultValue", "parentfield": "fields", diff --git a/core/doctype/docfield/docfield.txt b/core/doctype/docfield/docfield.txt index 955891c30e..7362a518d7 100644 --- a/core/doctype/docfield/docfield.txt +++ b/core/doctype/docfield/docfield.txt @@ -2,7 +2,7 @@ { "creation": "2013-02-22 01:27:33", "docstatus": 0, - "modified": "2013-07-03 10:03:56", + "modified": "2013-07-10 14:54:08", "modified_by": "Administrator", "owner": "Administrator" }, @@ -38,6 +38,7 @@ "fieldname": "label", "fieldtype": "Data", "hidden": 0, + "in_list_view": 1, "label": "Label", "oldfieldname": "label", "oldfieldtype": "Data", @@ -51,6 +52,7 @@ "fieldname": "fieldtype", "fieldtype": "Select", "hidden": 0, + "in_list_view": 1, "label": "Type", "oldfieldname": "fieldtype", "oldfieldtype": "Select", @@ -63,6 +65,7 @@ "fieldname": "fieldname", "fieldtype": "Data", "hidden": 0, + "in_list_view": 1, "label": "Name", "oldfieldname": "fieldname", "oldfieldtype": "Data", @@ -75,6 +78,7 @@ "fieldname": "options", "fieldtype": "Text", "hidden": 0, + "in_list_view": 1, "label": "Options", "oldfieldname": "options", "oldfieldtype": "Text", @@ -86,6 +90,7 @@ "fieldname": "reqd", "fieldtype": "Check", "hidden": 0, + "in_list_view": 1, "label": "Mandatory", "oldfieldname": "reqd", "oldfieldtype": "Check", @@ -98,6 +103,7 @@ "doctype": "DocField", "fieldname": "description", "fieldtype": "Text", + "in_list_view": 1, "label": "Description", "oldfieldname": "description", "oldfieldtype": "Text", diff --git a/core/doctype/docperm/docperm.txt b/core/doctype/docperm/docperm.txt index 4cfd1a1868..b620a5f9fd 100644 --- a/core/doctype/docperm/docperm.txt +++ b/core/doctype/docperm/docperm.txt @@ -2,7 +2,7 @@ { "creation": "2013-02-22 01:27:33", "docstatus": 0, - "modified": "2013-03-07 07:03:20", + "modified": "2013-07-10 14:54:08", "modified_by": "Administrator", "owner": "Administrator" }, @@ -38,6 +38,7 @@ "fieldname": "permlevel", "fieldtype": "Int", "hidden": 0, + "in_list_view": 1, "label": "Level", "oldfieldname": "permlevel", "oldfieldtype": "Int", @@ -51,6 +52,7 @@ "fieldname": "role", "fieldtype": "Link", "hidden": 0, + "in_list_view": 1, "label": "Role", "oldfieldname": "role", "oldfieldtype": "Link", @@ -65,6 +67,7 @@ "fieldname": "read", "fieldtype": "Check", "hidden": 0, + "in_list_view": 1, "label": "Read", "oldfieldname": "read", "oldfieldtype": "Check", @@ -78,6 +81,7 @@ "fieldname": "write", "fieldtype": "Check", "hidden": 0, + "in_list_view": 1, "label": "Write", "oldfieldname": "write", "oldfieldtype": "Check", @@ -91,6 +95,7 @@ "fieldname": "create", "fieldtype": "Check", "hidden": 0, + "in_list_view": 1, "label": "Create", "oldfieldname": "create", "oldfieldtype": "Check", @@ -104,6 +109,7 @@ "fieldname": "submit", "fieldtype": "Check", "hidden": 0, + "in_list_view": 1, "label": "Submit", "oldfieldname": "submit", "oldfieldtype": "Check", diff --git a/core/doctype/event_role/event_role.txt b/core/doctype/event_role/event_role.txt index 02ff65ec42..72a223c6d8 100644 --- a/core/doctype/event_role/event_role.txt +++ b/core/doctype/event_role/event_role.txt @@ -2,7 +2,7 @@ { "creation": "2013-02-22 01:27:33", "docstatus": 0, - "modified": "2013-03-07 07:03:21", + "modified": "2013-07-10 14:54:08", "modified_by": "Administrator", "owner": "Administrator" }, @@ -17,6 +17,7 @@ "doctype": "DocField", "fieldname": "role", "fieldtype": "Link", + "in_list_view": 1, "label": "Role", "name": "__common__", "oldfieldname": "role", diff --git a/core/doctype/event_user/event_user.txt b/core/doctype/event_user/event_user.txt index 5868e4799a..b8cb8cd2f3 100644 --- a/core/doctype/event_user/event_user.txt +++ b/core/doctype/event_user/event_user.txt @@ -2,7 +2,7 @@ { "creation": "2013-02-22 01:27:33", "docstatus": 0, - "modified": "2013-03-07 07:03:21", + "modified": "2013-07-10 14:54:08", "modified_by": "Administrator", "owner": "Administrator" }, @@ -17,6 +17,7 @@ "doctype": "DocField", "fieldname": "person", "fieldtype": "Select", + "in_list_view": 1, "label": "Person", "name": "__common__", "oldfieldname": "person", diff --git a/core/doctype/page_role/page_role.txt b/core/doctype/page_role/page_role.txt index c5d398ee33..e2ce117122 100644 --- a/core/doctype/page_role/page_role.txt +++ b/core/doctype/page_role/page_role.txt @@ -2,7 +2,7 @@ { "creation": "2013-02-22 01:27:34", "docstatus": 0, - "modified": "2013-03-07 07:03:26", + "modified": "2013-07-10 14:54:11", "modified_by": "Administrator", "owner": "Administrator" }, @@ -25,6 +25,7 @@ "fieldname": "role", "fieldtype": "Link", "hidden": 0, + "in_list_view": 1, "label": "Role", "name": "__common__", "oldfieldname": "role", diff --git a/core/doctype/userrole/userrole.txt b/core/doctype/userrole/userrole.txt index 29e86c6157..847c7b304e 100644 --- a/core/doctype/userrole/userrole.txt +++ b/core/doctype/userrole/userrole.txt @@ -2,7 +2,7 @@ { "creation": "2013-02-06 11:30:13", "docstatus": 0, - "modified": "2013-02-13 07:51:57", + "modified": "2013-07-10 14:54:25", "modified_by": "Administrator", "owner": "Administrator" }, @@ -25,6 +25,7 @@ "fieldname": "role", "fieldtype": "Link", "hidden": 0, + "in_list_view": 1, "label": "Role", "name": "__common__", "oldfieldname": "role", diff --git a/core/doctype/workflow_document_state/workflow_document_state.txt b/core/doctype/workflow_document_state/workflow_document_state.txt index 3a00586a3f..892eace626 100644 --- a/core/doctype/workflow_document_state/workflow_document_state.txt +++ b/core/doctype/workflow_document_state/workflow_document_state.txt @@ -2,7 +2,7 @@ { "creation": "2013-02-22 01:27:36", "docstatus": 0, - "modified": "2013-03-07 07:03:34", + "modified": "2013-07-10 14:54:25", "modified_by": "Administrator", "owner": "Administrator" }, @@ -16,6 +16,7 @@ }, { "doctype": "DocField", + "in_list_view": 1, "name": "__common__", "parent": "Workflow Document State", "parentfield": "fields", diff --git a/core/doctype/workflow_transition/workflow_transition.txt b/core/doctype/workflow_transition/workflow_transition.txt index ff87efc3f7..0bb1096099 100644 --- a/core/doctype/workflow_transition/workflow_transition.txt +++ b/core/doctype/workflow_transition/workflow_transition.txt @@ -2,7 +2,7 @@ { "creation": "2013-02-22 01:27:36", "docstatus": 0, - "modified": "2013-03-07 07:03:34", + "modified": "2013-07-10 14:54:25", "modified_by": "Administrator", "owner": "Administrator" }, @@ -16,6 +16,7 @@ { "doctype": "DocField", "fieldtype": "Link", + "in_list_view": 1, "name": "__common__", "parent": "Workflow Transition", "parentfield": "fields", diff --git a/public/js/wn/form/grid.js b/public/js/wn/form/grid.js index 2ef91971bd..14ed6cc937 100644 --- a/public/js/wn/form/grid.js +++ b/public/js/wn/form/grid.js @@ -174,6 +174,12 @@ wn.ui.form.GridRow = Class.extend({ \ \
\ + \ \ \ ') @@ -203,7 +209,12 @@ wn.ui.form.GridRow = Class.extend({ }, set_button_events: function() { var me = this; - + + this.wrapper.find(".btn-success").click(function() { + me.toggle_view(); + return false; + }); + this.wrapper.find(".btn-danger").click(function() { me.wrapper.fadeOut(function() { wn.model.clear_doc(me.doc.doctype, me.doc.name); @@ -241,7 +252,7 @@ wn.ui.form.GridRow = Class.extend({ col = $('