From 3e36a4f410918f75e642ccc7fc716f9e4593aa96 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 21 Jan 2009 18:55:45 +0100 Subject: [PATCH] prefs: properly enable op toolbars before showing edit dialog (because entry is actually selected) --- prefs.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/prefs.js b/prefs.js index 83d43670b..33b53c381 100644 --- a/prefs.js +++ b/prefs.js @@ -443,6 +443,8 @@ function editUser(id) { selectTableRowsByIdPrefix('prefUserList', 'UMRR-', 'UMCHK-', false); selectTableRowById('UMRR-'+id, 'UMCHK-'+id, true); + disableContainerChildren("userOpToolbar", false); + xmlhttp.open("GET", "backend.php?op=pref-users&subop=edit&id=" + param_escape(id), true); xmlhttp.onreadystatechange=infobox_callback; @@ -463,6 +465,8 @@ function editFilter(id) { // document.getElementById("create_filter_btn").disabled = true; + disableContainerChildren("filterOpToolbar", false); + selectTableRowsByIdPrefix('prefFilterList', 'FILRR-', 'FICHK-', false); selectTableRowById('FILRR-'+id, 'FICHK-'+id, true); @@ -496,6 +500,8 @@ function editFeed(feed) { selectTableRowsByIdPrefix('prefFeedList', 'FEEDR-', 'FRCHK-', false); selectTableRowById('FEEDR-'+feed, 'FRCHK-'+feed, true); + disableContainerChildren("feedOpToolbar", false); + xmlhttp.open("GET", "backend.php?op=pref-feeds&subop=editfeed&id=" + param_escape(feed), true);