diff options
author | Andrew Dolgov <[email protected]> | 2010-11-20 15:36:42 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-11-20 15:36:42 +0300 |
commit | 33f31dfdfc2ca303c55c1f8b6ef7d002053228a1 (patch) | |
tree | 382a447d7c0c993becc4185ef1e5633c98b6dcda /functions.js | |
parent | e2eda97930a509673e2055c91308991dfd017ea4 (diff) |
misc feed edit dialog fixes
Diffstat (limited to 'functions.js')
-rw-r--r-- | functions.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/functions.js b/functions.js index 5e3156126..e303c4049 100644 --- a/functions.js +++ b/functions.js @@ -1564,8 +1564,10 @@ function getSelectedTableRowIds(id) { } function editFeed(feed, event) { - try { + if (feed <= 0) + return alert(__("You can't edit this kind of feed.")); + var query = "backend.php?op=pref-feeds&subop=editfeed&id=" + param_escape(feed); |