minor update
This commit is contained in:
1 parent
4cbf2fd8b9
commit
989e5aa974
4 files changed
+25
-9
No files matched your search
@@ -712,6 +712,19 @@ var orbitDesktop = function(dom){
|
||||
dragged.removeClass("noClick");
|
||||
|
||||
});
|
||||
var element = $('.gridster li');
|
||||
$.each(element, function(i){
|
||||
if($(this).attr("data-category")=="app" && $(this).find('.text_wrapper').length < 1){
|
||||
$(this).find('.appname').wrapInner('<span class="text_wrapper"/>');
|
||||
var w = $(this).find('.text_wrapper').width();
|
||||
if (w > 96){
|
||||
var text = $(this).find('.text_wrapper').text();
|
||||
slice = text.substr(0,12);
|
||||
$(this).find('.text_wrapper').attr('title',text).text(slice+'...');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
o.simple_drop_down();
|
||||
o.tinyscrollbar_ext({
|
||||
main: '.tinycanvas'
|
||||
@@ -791,7 +804,7 @@ var orbitDesktop = function(dom){
|
||||
tempstyle = "style='display:none;'";
|
||||
$("#desktop #section_heading").text(section.name);
|
||||
}
|
||||
$("#desktop #section_list").append($('<li class="section_name" '+tempstyle+'><a class="admtxt hp w2 hh1" onclick="return false;" href="'+section._id+'" >'+section.name+'</a></li>'));
|
||||
$("#desktop #section_list").append($('<li class="section_name" '+tempstyle+'><a class="admtxt hp hh1" onclick="return false;" href="'+section._id+'" >'+section.name+'</a></li>'));
|
||||
});
|
||||
bindSecondaryHandlers();
|
||||
}else{
|
||||
|
||||
Reference in new issue
Block a user