app/views/wiki/list.rhtml in Pimki-1.5.092 vs app/views/wiki/list.rhtml in Pimki-1.6.092

- old
+ new

@@ -76,11 +76,11 @@ return false; } return true; } function validatePageName(fieldID) { - if (/^([A-Z][a-z]+[A-Z]\w+)$/.test(document.getElementById(fieldID).value)) { + if (/^([A-Z]+[a-z]+[A-Z]\w+)$/.test(document.getElementById(fieldID).value)) { return true; } else { alert('You wrote "' + document.getElementById(fieldID).value + '" as a page name, but it needs to be a wiki word.'); return false; } @@ -111,11 +111,11 @@ </tr> <% end %> <!-- Delete Page --> <tr> <td>Delete page:</td> - <td><select id="sel_delete" name="sel_page_name" size="1" style="width:195"> + <td><select id="del_sel_page_name" name="del_sel_page_name" size="1" style="width:195"> <option value="noselect">------------</option> <% for page in @pages_by_name %> <option value="<%= page.name %>"><%= page.name %></option> <% end %> </select> @@ -128,10 +128,10 @@ </td> </tr> <!-- Rename Page --> <tr> <td>Rename:</td> - <td><select id="sel_rename" name="sel_page_name" size="1" style="width:195"> + <td><select id="ren_sel_page_name" name="ren_sel_page_name" size="1" style="width:195"> <option value="noselect">------------</option> <% for page in @pages_by_name %> <option value="<%= page.name %>"><%= page.name %></option> <% end %> </select>