From: <jon...@us...> - 2012-02-11 16:17:23
|
Revision: 39811 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=39811&view=rev Author: jonnybradley Date: 2012-02-11 16:17:17 +0000 (Sat, 11 Feb 2012) Log Message: ----------- [FIX] payment: show the correct payment accordion panel (selectedIndex is a property not an attribute in jQuery these days) Also slightly update dev notice :) Modified Paths: -------------- trunk/templates/admin/include_payment.tpl Modified: trunk/templates/admin/include_payment.tpl =================================================================== --- trunk/templates/admin/include_payment.tpl 2012-02-11 16:15:03 UTC (rev 39810) +++ trunk/templates/admin/include_payment.tpl 2012-02-11 16:17:17 UTC (rev 39811) @@ -43,7 +43,7 @@ <div class="admin payment"> {remarksbox title="{tr}Experimental{/tr}" type="warning" icon="bricks"} {tr}Cclite is for creating and managing alternative or complementary trading currencies and groups{/tr} - {tr}Work in progress for Tiki 6{/tr} + {tr}Work in progress since Tiki 6{/tr} {/remarksbox} {preference name=payment_cclite_registries} {preference name=payment_cclite_currencies} @@ -63,7 +63,7 @@ </div> </div> {jq}if ($.ui) { - var idx = $("select[name=payment_system]").attr("selectedIndex"); + var idx = $("select[name=payment_system]").prop("selectedIndex"); $("#payment_systems").tiki("accordion", {heading: "h2"}); if (idx > 0) { $("#payment_systems").accordion("option", "active", idx); } }{/jq} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |