url handling modified.. tinyscrollbar modified… star checkbox fixed..

This commit is contained in:
harrybomrah committed 2013-03-01 14:45:20 +08:00
1 parent c82e9a646d
commit 9b8ab2a2c1
2 files changed
+13 -4

No files matched your search

+11 -2
View File
@@ -159,11 +159,20 @@ var orbitDesktop = function(dom){
$("body").on("click","*[ajax-remote]",function(){
var $e = $(this);
var t = $e.attr("ajax-remote");
var classes_to_toggle = $e.attr("toggle-onclick");
if(classes_to_toggle){
$e.toggleClass(classes_to_toggle);
}
if(t == "false"){
return false;
}
var exe = $e.attr("callback-method"); // (typeof $e.attr("callback-method") == "function"? $e.attr("callback-method") : "");
var ca = $e.attr("content-holder");
var a = function(){
$.ajax({
type : $e.attr("ajax-remote"),
type : t,
url : $e.attr("href"),
success : function(data){
if(typeof data == "string"){
@@ -300,7 +309,7 @@ var orbitDesktop = function(dom){
$("div[container=true] div.overview").html(temp_div.html());
o.tinyscrollbar_ext({
main : ".tinycanvas",
fill : base_width * total_columns
fill : base_width * (total_columns++) + 250
})
}