diff --git a/admin/award_awards.php b/admin/award_awards.php index 441de99..6eb2ccc 100644 --- a/admin/award_awards.php +++ b/admin/award_awards.php @@ -313,7 +313,7 @@ function update_awardinfo() /* Disable fields we don't want the user to edit * for downloaded awards */ - if(json.award_source_fairs_id != null) { + if(json.award_source_fairs_id>0) { $("#awardinfo_name").attr('disabled', 'disabled'); $("#awardinfo_sponsors_id").attr('disabled', 'disabled'); $("#awardinfo_criteria").attr('disabled', 'disabled'); @@ -585,8 +585,7 @@ $(document).ready(function() { "; - //only show the "choose a sponsor" option if we are adding,if we are editing, then they must have already chosen one. - echo $firstsponsor; + echo "\n"; while($sr=mysql_fetch_object($sq)) { echo ""; } @@ -1024,8 +1023,8 @@ if(mysql_num_rows($q)) echo " {$numr['num']}"; echo " "; - echo ""; - echo " "; +// echo ""; +// echo " "; echo "id});\" href=\"#\" >"; echo " \n";