From afb14c10119a184a097d8b3cb37153230e2a6e77 Mon Sep 17 00:00:00 2001 From: Alexey Verkhovsky Date: Sat, 9 Apr 2005 03:05:37 +0000 Subject: [PATCH] Some JavaScript was showing on edit_web (ticket:117) --- app/views/admin/edit_web.rhtml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/admin/edit_web.rhtml b/app/views/admin/edit_web.rhtml index 621c8f24..d50bde43 100644 --- a/app/views/admin/edit_web.rhtml +++ b/app/views/admin/edit_web.rhtml @@ -119,9 +119,10 @@ TODO Enable these input elements again after release 0.10

Other administrative tasks

<%= form_tag({:controller => 'admin', :web => @web.address, :action => 'remove_orphaned_pages'}, - {:id => 'remove_orphaned_pages'}) + {:id => 'remove_orphaned_pages', + :onSubmit => "return checkSystemPassword(document.getElementById('system_password_orphaned').value)" + }) %> - onSubmit="return checkSystemPassword(document.getElementById('system_password_orphaned').value)">

Clean up by entering system password