From: <nk...@us...> - 2010-03-04 22:51:33
|
Revision: 25913 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=25913&view=rev Author: nkoth Date: 2010-03-04 22:51:27 +0000 (Thu, 04 Mar 2010) Log Message: ----------- [NEW] Allow adding of custom attribute fields to articles (this is the js selector to change visibility of attribute fields when type changes) Modified Paths: -------------- trunk/lib/tiki-js.js Modified: trunk/lib/tiki-js.js =================================================================== --- trunk/lib/tiki-js.js 2010-03-04 22:48:57 UTC (rev 25912) +++ trunk/lib/tiki-js.js 2010-03-04 22:51:27 UTC (rev 25913) @@ -101,7 +101,9 @@ 'show_image','y', 'show_expdate','y' ]; - + if (typeof articleCustomAttributes != 'undefined') { + var propertyList = propertyList.concat(articleCustomAttributes); + } var l = propertyList.length, property, value; for (var i=0; i<l; i++) { property = propertyList[i++]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |