[FIXED HUDSON-193] Fixed an interference between auto refresh and inline description editing. In 1.232.

Gradually we should phase out auto refresh by AJAX, which is tracked as HUDSON-484

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10605 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2008-07-03 16:51:10 +00:00
1 parent dff9c6fc26
commit 0e6cf43ebb
2 files changed
+2 -2

No files matched your search

@@ -2,7 +2,7 @@
If JavaScript is off, this form is used to edit the description
-->
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form" xmlns:i="jelly:fmt">
<l:layout title="${it.displayName}">
<l:layout title="${it.displayName}" norefresh="true">
<st:include page="sidepanel.jelly" />
<l:main-panel>
<form action="submitDescription" method="post">
@@ -10,7 +10,7 @@
</div>
<l:hasPermission permission="${permission}">
<div align="right"><a href="editDescription" onclick="return replaceDescription();">
<div align="right"><a href="editDescription" onclick="${h.ifThenElse(h.isAutoRefresh(request), null, 'return replaceDescription();')}">
<img src="${imagesURL}/16x16/notepad.gif" />
<j:choose>
<j:when test="${empty(it.description)}">