if (browse){
displayBrowseGroupId(browse);
return;
+ }else{
+ $.log("no browse");
}
var screen = $.urlParam('screen');
decorateMenuWithKarma=function(user) {
var username = user.username;
+ $.log("decorateMenuWithKarma");
// we can receive an observable user so take if it's a function or not
if ($.isFunction(username)){
username = user.username();
$("#login-link").show();
$("#register-link").show();
$("#change-password-link").hide();
+ checkUrlParams();
} else {
$("#change-password-link").show();
$("#logout-link").show();
*/
displayBrowseGroupId=function(groupId){
clearUserMessages();
+ $.log("displayBrowseGroupId:"+groupId);
var mainContent = $("#main-content");
mainContent.html($("#browse-tmpl" ).tmpl());
mainContent.find("#browse_result").html(mediumSpinnerImg());