new type fixed

This commit is contained in:
harrybomrah authored and chris committed 2012-12-04 00:31:07 +08:00
1 parent f7f55850fe
commit a6a50227eb
2 files changed
+23 -7

No files matched your search

@@ -303,10 +303,26 @@ orbitDesktop.prototype.initializeJournalPapers = function(target,url,cache){ //
}
})
return false;
})
}
bindHandlers();
})
$("a.bt-new-type").click(function(){
$.ajax({
url : $(this).attr("href"),
type : "get",
success : function(data){
var prev_data = $("div[container=true]").html();
$("div[container=true]").html(data);
o.tinyscrollbar_ext({
main: '.tinycanvas',
fill: '.s_grid_con'
})
$(".bt-cancel").click(function(){
$("div[container=true]").html(prev_data);
})
}
})
return false;
})
}
};
bindHandlers();
}
};