Commit 419f548f authored by Gabriel Monnerat's avatar Gabriel Monnerat

- add condition to check if subject list is None.

- improve css to dialog

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42388 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 724d7072
......@@ -354,6 +354,7 @@ $().ready(function(){\n
$("input#language.language").attr("value", getObjectPropertyValue("getLanguage"));\n
$("input#sort_index.sort_index").attr("value", getObjectPropertyValue("getIntIndex"));\n
var subjectList = jQuery.parseJSON(getObjectPropertyValue(\'getSubjectList\').replace(/\'/g,\'"\'));\n
if (subjectList != null)\n
$("textarea#keyword_list").attr("value", subjectList.join("\\n"));\n
$("#edit_document").dialog("open"); \n
});\n
......
......@@ -654,8 +654,9 @@ div#edit_document {\n
}\n
\n
div#edit_document fieldset input {\n
margin-top:15px;\n
margin-top:6px;\n
font-size:13px;\n
width: 95%;\n
}\n
\n
div.ui-dialog {\n
......
Experimental theme to provide an UNG experience as part of an ERP5 web site.
* Is needed create one System Preference object and add validate_state on Criterion Properties field
TODO:
- Define naming conventions for jquery
- Clean up the javascript code
- SpreadSheet Formula is ignored when the document is uploaded
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment