|
From: <al...@us...> - 2008-10-26 19:51:05
|
Revision: 763
http://sciret.svn.sourceforge.net/sciret/?rev=763&view=rev
Author: alpeb
Date: 2008-10-26 19:51:01 +0000 (Sun, 26 Oct 2008)
Log Message:
-----------
load calendar YUI widget
Modified Paths:
--------------
trunk/templates/EditBookmark.tpl
Modified: trunk/templates/EditBookmark.tpl
===================================================================
--- trunk/templates/EditBookmark.tpl 2008-10-26 19:44:17 UTC (rev 762)
+++ trunk/templates/EditBookmark.tpl 2008-10-26 19:51:01 UTC (rev 763)
@@ -72,7 +72,7 @@
<img src="images/datepopup.gif" id="expDateButton" style="cursor:pointer" />
<div id="expirationCalContainer" style="display:none; position:absolute; left:10px; z-index:1"></div>
<span id="labelSetDate" style="display:{labelSetExpDateDisplay}">([l]Currently none.<br />Click icon to set one.[/l])</span>
- <a id="removeDateLink" href="javascript:void(0);" onclick="removeArticeExpiration();" style="display:{removeExpDateLinkDisplay}; font-weight:bold; font-size:10px">[l]Remove expiration date[/l]</a>
+ <a id="removeDateLink" href="javascript:void(0);" onclick="removeArticleExpiration();" style="display:{removeExpDateLinkDisplay}; font-weight:bold; font-size:10px">[l]Remove expiration date[/l]</a>
</div>
</td>
</tr>
@@ -106,9 +106,15 @@
</form>
<script type="text/javascript">
YAHOO.util.Event.onDOMReady(function() {
- YAHOO.util.Event.addListener($("expDateButton"),
- "click",
- showArticleCalendar);
+ SCIRET.loader.insert(
+ ["calendar"],
+ function() {
+ YAHOO.util.Event.addListener($("expDateButton"),
+ "click",
+ showArticleCalendar);
+ }
+ );
+
});
function showArticleCalendar() {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|