r996 - xwiki/trunk/src/main/web/templates
Ludovic Dubost
ludovic at users.forge.objectweb.org
Tue Mar 28 12:10:12 CEST 2006
Author: ludovic
Date: 2006-03-28 12:10:11 +0200 (Tue, 28 Mar 2006)
New Revision: 996
Modified:
xwiki/trunk/src/main/web/templates/attachments.vm
xwiki/trunk/src/main/web/templates/edit.vm
Log:
Fixed minor error in attachment template
Removed some unused js from edit.vm
Modified: xwiki/trunk/src/main/web/templates/attachments.vm
===================================================================
--- xwiki/trunk/src/main/web/templates/attachments.vm 2006-03-28 00:27:27 UTC (rev 995)
+++ xwiki/trunk/src/main/web/templates/attachments.vm 2006-03-28 10:10:11 UTC (rev 996)
@@ -34,8 +34,7 @@
<a href="$doc.getAttachmentURL("${attach.filename}", "viewattachrev")">$msg.get("history")</ a>
</td>
<td>
- <a href="$doc.getAttachmentURL("${attach.filename}", "delattachment")" onclick="return confirm('$msg.get("confirmdelattachment")');">$msg.get("delete")</
- a></td>
+ <a href="$doc.getAttachmentURL("${attach.filename}", "delattachment")" onclick="return confirm('$msg.get("confirmdelattachment")');">$msg.get("delete")</a></td>
</tr>
#set( $counter = $counter + 1)
#end
@@ -63,8 +62,7 @@
if (form.filename.value == "")
form.filename.value = fname;
else {
- if (confirm("$msg.get("doyouwanttoreplace
- ") '" + fname + "' ?"
+ if (confirm("$msg.get("doyouwanttoreplace") '" + fname + "' ?"
))
form.filename.value = fname;
}
Modified: xwiki/trunk/src/main/web/templates/edit.vm
===================================================================
--- xwiki/trunk/src/main/web/templates/edit.vm 2006-03-28 00:27:27 UTC (rev 995)
+++ xwiki/trunk/src/main/web/templates/edit.vm 2006-03-28 10:10:11 UTC (rev 996)
@@ -18,23 +18,6 @@
#else
#set($colsclass = "hide-both")
#end
-
-<script type="text/javascript">
- function callLockAction(){
- if($doc.getURL("save")) {
- var surl = "$doc.getExternalURL("lockaction")";
- var myAjax = new Ajax.Request(
- surl,
- {
- method: 'get',
- parameters: "",
- asynchronous: false
- });
-
- }
- }
-
-</script>
<div id="xwikieditcontent" class="large">
<div id="columns">
<div class="cols-wrapper">
More information about the Xwiki-notifications
mailing list