From c9da4168874296cf4f5ba71b9a432ceae3c26130 Mon Sep 17 00:00:00 2001 From: Alvin Li Date: Fri, 20 Sep 2013 23:52:59 +0800 Subject: *** merged changes of front pages *** * merged changes from '97suifang-front' by mjymjydark; and modified to work with django * finished 'editing_data' div of 'SheetDefault' for add new record * added 'indicator.views.ajax_add_record()' *** search *** * improved 'search' function of 'NewDeleteIndex' page; employ AJAX to load search results; * added 'indicator.views.search_indicators()' *** recommend indicator *** * improved the functions of 'recommend_indicator' * added 'sciblog.models.UserCollection' to record the collection information for each user * improved 'sciblog.views.add_user_to_m2m()' to work with 'UserCollection' * added field 'lastRecommendTime' in 'indicator.models.UserIndicator' * updated 'indicator.views.indicator_status' against 'recommend_indicator' *** qtip2 for recommended indicator *** * added 'qtip2' tooltip for recommended indicator card * added '97suifang' qtip css (qtip-sf) * added tooltip for 'add record' when return error (SheetDefault page); * improved the style of 'collection_btn' and 'go_library_btn' of IndexDesc page; --- .../apps/indicator/static/javascripts/index_desc.js | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 97suifangqa/apps/indicator/static/javascripts/index_desc.js (limited to '97suifangqa/apps/indicator/static/javascripts/index_desc.js') diff --git a/97suifangqa/apps/indicator/static/javascripts/index_desc.js b/97suifangqa/apps/indicator/static/javascripts/index_desc.js deleted file mode 100644 index 49771ea..0000000 --- a/97suifangqa/apps/indicator/static/javascripts/index_desc.js +++ /dev/null @@ -1,16 +0,0 @@ -$(document).ready(function(){ - //点大叉、继续关注按钮,关闭弹层页面 - $(".index_desc_close").bind("click", function(){ - parent.TB_remove(); - return false; - }); - - //前往医学知识库 - $(".go_library_btn").bind("click", function(){ - parent.delete_card(); - parent.TB_remove(); - - parent.window.location.href = "http://demo.97suifang.com/blog/1/source"; - return false; - }); -}); \ No newline at end of file -- cgit v1.2.2