提交 dbdf1d53 编写于 作者: J Jesse Glick

Delete “No” button when renaming; does not work reliably anyway.

Going back in browser history can reset configuration form to the *previous* state,
not what was just saved! (In the case of lazily inserted form elements.)
Thus clicking Save from that page would actually revert your recent changes.
For now, just omitting the button; could make it go back to index or configuration pages,
but there are already links for this.
上级 5981ac4e
...@@ -47,8 +47,6 @@ THE SOFTWARE. ...@@ -47,8 +47,6 @@ THE SOFTWARE.
${%description(it.name, newName)} ${%description(it.name, newName)}
<input type="hidden" name="newName" value="${newName}" /> <input type="hidden" name="newName" value="${newName}" />
<f:submit value="${%Yes}" /> <f:submit value="${%Yes}" />
<input type="button" value="${%No}"
onclick="javascript:history.back()" class="yui-button" />
</form> </form>
</j:otherwise> </j:otherwise>
</j:choose> </j:choose>
......
...@@ -25,4 +25,3 @@ newNameInUse=The name {0} is already in use. ...@@ -25,4 +25,3 @@ newNameInUse=The name {0} is already in use.
configWasSaved=All other configuration options were saved. configWasSaved=All other configuration options were saved.
description=Are you sure about renaming {0} to {1}? description=Are you sure about renaming {0} to {1}?
Yes=Yes Yes=Yes
No=No
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册