modified file of view bug
This commit is contained in:
parent
97ffb5ff18
commit
61c0c4b542
|
@ -10,7 +10,7 @@ $.extend($.expr[':'], {
|
||||||
});
|
});
|
||||||
$.fn.sort = function(c) {
|
$.fn.sort = function(c) {
|
||||||
return this.pushStack([].sort.apply(this, arguments), []);
|
return this.pushStack([].sort.apply(this, arguments), []);
|
||||||
};
|
};
|
||||||
var sortAscending = function(a, b) {
|
var sortAscending = function(a, b) {
|
||||||
return $(a).find("h1").text() > $(b).find("h1").text() ? 1 : -1;
|
return $(a).find("h1").text() > $(b).find("h1").text() ? 1 : -1;
|
||||||
};
|
};
|
||||||
|
@ -889,9 +889,11 @@ var orbitDesktop = function(dom){
|
||||||
$("#journal_p div#paper_list div.overview").empty();
|
$("#journal_p div#paper_list div.overview").empty();
|
||||||
var column = $('<div class="g_col list_t"><ul></ul></div>'),
|
var column = $('<div class="g_col list_t"><ul></ul></div>'),
|
||||||
counter = 1,
|
counter = 1,
|
||||||
li = $('<li class="list_t_item"></li>');
|
li = null;
|
||||||
$.each(journalData,function(i,journal){
|
$.each(journalData,function(i,journal){
|
||||||
$.each(journal.papers,function(j,paper){
|
$.each(journal.papers,function(j,paper){
|
||||||
|
li = null;
|
||||||
|
li = $('<li class="list_t_item"></li>');
|
||||||
li.append('<div class="list_item_action"><a href="" class="icon-check-empty"></a><a href="" class="icon-star-empty"></a></div><div class="list_t_title">'+journal.title+'</div>');
|
li.append('<div class="list_item_action"><a href="" class="icon-check-empty"></a><a href="" class="icon-star-empty"></a></div><div class="list_t_title">'+journal.title+'</div>');
|
||||||
$.each(paper.files,function(k,file){
|
$.each(paper.files,function(k,file){
|
||||||
var thistitle = file.title;
|
var thistitle = file.title;
|
||||||
|
@ -911,7 +913,6 @@ var orbitDesktop = function(dom){
|
||||||
$("#journal_p div#paper_list div.overview").append(column);
|
$("#journal_p div#paper_list div.overview").append(column);
|
||||||
bindSecondaryHandlers();
|
bindSecondaryHandlers();
|
||||||
}
|
}
|
||||||
|
|
||||||
var keywordsview = function(){
|
var keywordsview = function(){
|
||||||
$("#journal_p div#paper_list div.overview").empty();
|
$("#journal_p div#paper_list div.overview").empty();
|
||||||
var column = $('<div class="g_col list_t"><ul></ul></div>'),
|
var column = $('<div class="g_col list_t"><ul></ul></div>'),
|
||||||
|
|
Reference in New Issue