all none for conf done

This commit is contained in:
Harry Bomrah 2013-03-06 12:08:08 +08:00 committed by Matt K. Fu
parent 0189d1c2c0
commit 6cd97adf21
2 changed files with 12 additions and 2 deletions

View File

@ -102,5 +102,15 @@ orbitDesktop.prototype.initializeConferencePapers = function(target,url,cache){
o.notify(data.msg,"alert");
}
}
this.initializeConferencePapers.allnone = function(d,o){
switch(o.attr("href")){
case "all":
$("div.overview a.icon-check-empty").removeClass("icon-check-empty").addClass("icon-check");
break;
case "none":
$("div.overview a.icon-check").removeClass("icon-check").addClass("icon-check-empty");
break;
}
}
};

View File

@ -3,8 +3,8 @@
<div class="sdm_t hh1"><span class="icon-check"></span></div>
<div class="admbg sdm_o">
<ul id="conference_selection_options">
<li><a class="hp hh1 admtxt" href="all">All</a></li>
<li><a class="hp hh1 admtxt" href="none">None</a></li>
<li><a class="hp hh1 admtxt" href="all" ajax-remote="false" callback-method="allnone">All</a></li>
<li><a class="hp hh1 admtxt" href="none" ajax-remote="false" callback-method="allnone">None</a></li>
</ul>
</div>
</div>