mirror of https://github.com/apache/archiva.git
use animate to avoid collision with hide defined in both jquery and jqueryui
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1558287 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6d057edb38
commit
7f56a1ff0e
|
@ -209,7 +209,9 @@ define("archiva.search",["jquery","jquery.ui","i18n","jquery.tmpl","select2","kn
|
|||
browseResult.show();
|
||||
mainContent.find("#browse_artifact" ).hide();
|
||||
var browseBreadCrumb=mainContent.find("#browse_breadcrumb");
|
||||
mainContent.find("#main_browse_result_content").hide( "slide", {}, 300,
|
||||
$.log("before slide");
|
||||
//mainContent.find("#main_browse_result_content").hide( "slide", {}, 300,
|
||||
mainContent.find("#main_browse_result_content").animate( {},300,"slide",
|
||||
function(){
|
||||
browseResult.html(mediumSpinnerImg());
|
||||
browseBreadCrumb.html(smallSpinnerImg());
|
||||
|
@ -378,8 +380,8 @@ define("archiva.search",["jquery","jquery.ui","i18n","jquery.tmpl","select2","kn
|
|||
}
|
||||
|
||||
this.display=function(afterCallbackFn){
|
||||
mainContent.find("#browse_breadcrumb").hide("slide", {}, 300,function(){
|
||||
mainContent.find("#browse_artifact").hide("slide", {}, 300,function(){
|
||||
mainContent.find("#browse_breadcrumb").animate({},300,"slide",function(){
|
||||
mainContent.find("#browse_artifact").animate({},300,"slide",function(){
|
||||
|
||||
mainContent.find("#browse_artifact_detail").show();
|
||||
mainContent.find("#browse_artifact_detail").html(mediumSpinnerImg());
|
||||
|
@ -1285,7 +1287,7 @@ define("archiva.search",["jquery","jquery.ui","i18n","jquery.tmpl","select2","kn
|
|||
mainContent.find("#browse_artifact_detail").hide();
|
||||
mainContent.find("#browse_result").hide();
|
||||
$.log("before slide");
|
||||
mainContent.find("#main_browse_result_content").hide("slide", {}, 300,function(){
|
||||
mainContent.find("#main_browse_result_content").animate({},300,"slide",function(){
|
||||
$.log("yup");
|
||||
mainContent.find("#browse_breadcrumb").html(smallSpinnerImg());
|
||||
mainContent.find("#browse_artifact").show();
|
||||
|
|
Loading…
Reference in New Issue