minor update
This commit is contained in:
1 parent
3ded19016a
commit
874819266d
9 files changed
+27
-16
No files matched your search
@@ -16,4 +16,4 @@
|
||||
//= require orbitdesktop
|
||||
//= require jquery.gridster
|
||||
//= require desktop/books_pages
|
||||
//= require select2
|
||||
//= require select2
|
||||
@@ -849,7 +849,7 @@ var orbitDesktop = function(dom){
|
||||
if(i == 1){
|
||||
$column = $('<div class="g_col g_col_w1"></div>');
|
||||
}
|
||||
var $newelement = $('<div class="element w1 h1 hp vp thmc2">'+$(this).html()+'</div>');
|
||||
var $newelement = $('<div class="element w1 h1 thmc2">'+$(this).html()+'</div>');
|
||||
$column.append($newelement);
|
||||
if(i == 4){
|
||||
$result.append($column);
|
||||
@@ -899,6 +899,11 @@ var orbitDesktop = function(dom){
|
||||
});
|
||||
return false;
|
||||
});
|
||||
$(window).on('keydown', function(){
|
||||
if($('#searchbox').val() == 'Search'){
|
||||
$('#searchbox').focus();
|
||||
}
|
||||
});
|
||||
o.appname_substr('#group_wrapper .element');
|
||||
o.simple_switch();
|
||||
}
|
||||
@@ -910,7 +915,7 @@ var orbitDesktop = function(dom){
|
||||
$.each(apps,function(i,app){
|
||||
var $app;
|
||||
count++;
|
||||
$app = $('<div class="element w1 h1 hp vp thmc2" data-category="'+app.data_category+'" data-content="'+app.data_content+'"><span class="tile thmc2"></span><a href="'+app._id+'" class="appicon"><img src="'+o.iconPath+app.data_content+'.png" alt="" onclick="return false;"></a><h1 class="appname thmtxt">'+app.title+'</h1></div>');
|
||||
$app = $('<div class="element w1 h1 thmc2" data-category="'+app.data_category+'" data-content="'+app.data_content+'"><span class="tile thmc2"></span><a href="'+app._id+'" class="appicon"><img src="'+o.iconPath+app.data_content+'.png" alt="" onclick="return false;"></a><h1 class="appname thmtxt">'+app.title+'</h1></div>');
|
||||
if( count > 4 ){
|
||||
count = 1, colindex+=1;
|
||||
$('#app_list').append('<div class="g_col g_col_w1 col'+ colindex +'"/>');
|
||||
|
||||
Reference in new issue
Block a user