fix desktop

This commit is contained in:
JiangRu 2015-01-14 11:54:23 +08:00
parent 41d11e12a3
commit b42ffeca21
3 changed files with 2 additions and 2 deletions

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -1,4 +1,4 @@
class Desktop::JournalPapersController < DesktopAdminController class Desktop::PersonalJournalsController < DesktopAdminController
include Admin::JournalPapersHelper include Admin::JournalPapersHelper
def menu def menu
user = OrbitHelper.current_user user = OrbitHelper.current_user

View File

@ -315,7 +315,7 @@
$(this).parent('.add-btn').prev('.add-target').children('.start-line').eq(le).children('.input-append').find('.tab-content').each(function() { $(this).parent('.add-btn').prev('.add-target').children('.start-line').eq(le).children('.input-append').find('.tab-content').each(function() {
$(this).children('.tab-pane').eq(on).addClass('in active').siblings().removeClass('in active'); $(this).children('.tab-pane').eq(on).addClass('in active').siblings().removeClass('in active');
}); });
formTip(); // formTip();
} else if($(this).hasClass('delete_file')) { } else if($(this).hasClass('delete_file')) {
$(this).parents('.input-prepend').remove(); $(this).parents('.input-prepend').remove();
} else if($(this).hasClass('remove_existing_record')) { } else if($(this).hasClass('remove_existing_record')) {