Subversion Repositories SmartDukaan

Rev

Rev 3390 | Rev 3405 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3390 Rev 3397
Line 425... Line 425...
425
        success: function(response) {
425
        success: function(response) {
426
            listActivities('infopane', "creatorId=1");
426
            listActivities('infopane', "creatorId=1");
427
        }
427
        }
428
    });
428
    });
429
}
429
}
-
 
430
 
-
 
431
function loadAdvancedSearchBox() {
-
 
432
    $.colorbox({
-
 
433
        inline : true,
-
 
434
        width : "535px",
-
 
435
        height : "465px",
-
 
436
        href : "form#search",
-
 
437
        onClosed : function() {
-
 
438
            $("form#search").hide();
-
 
439
        }
-
 
440
    });
-
 
441
 
-
 
442
    $("form#search").show();
-
 
443
}
-
 
444
 
-
 
445
function processSearchEntityChange(searchEntity) {
-
 
446
    if (searchEntity == "Tickets") {
-
 
447
        $("#assignee").show();
-
 
448
        $("#creator").hide();
-
 
449
    }
-
 
450
    else if (searchEntity == "Activities") {
-
 
451
        $("#assignee").hide();
-
 
452
        $("#creator").show();
-
 
453
    }
-
 
454
}