From cb5bb16953b2b05b117d5c118c6a2b4ccaa25145 Mon Sep 17 00:00:00 2001 From: james Date: Thu, 17 Sep 2009 19:25:14 +0000 Subject: [PATCH] Disable all the other tabs if editing the default prize template --- admin/award_awards.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/award_awards.php b/admin/award_awards.php index 8737d95a..467e6bb8 100644 --- a/admin/award_awards.php +++ b/admin/award_awards.php @@ -678,13 +678,13 @@ function popup_editor(id) award_id = id; if(id == -1) { - $('#editor_tabs').tabs('option', 'disabled', [0, 1]); $('#editor_tabs').tabs('option', 'selected', 2); + $('#editor_tabs').tabs('option', 'disabled', [0, 1, 3]); } else { $('#editor_tabs').tabs('option', 'disabled', []); $('#editor_tabs').tabs('option', 'selected', 0); + update_awardinfo(); } - update_awardinfo(); return 0; }