mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-17 07:41:26 +00:00
[icons] modification
This commit is contained in:
@@ -147,6 +147,8 @@ define([
|
||||
Common.ajaxErrorHandler(xhr);
|
||||
}
|
||||
});
|
||||
|
||||
return false;
|
||||
},
|
||||
|
||||
visitDir: function () { // todo
|
||||
@@ -179,6 +181,8 @@ define([
|
||||
} else {
|
||||
popup.addClass('hide');
|
||||
}
|
||||
|
||||
return false;
|
||||
},
|
||||
|
||||
share: function() {
|
||||
|
@@ -67,6 +67,8 @@ define([
|
||||
Common.feedback(err, 'error');
|
||||
}
|
||||
});
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
});
|
||||
|
@@ -23,7 +23,6 @@ define([
|
||||
events: {
|
||||
'click #group-settings-icon': 'toggleSettingsPanel',
|
||||
'click #group-members-icon': 'toggleMembersPanel',
|
||||
'click #group-wiki-icon': 'showGroupWiki',
|
||||
'click #group-discussions-icon': 'toggleDiscussionsPanel',
|
||||
'click .repo-create': 'createRepo',
|
||||
'click .by-name': 'sortByName',
|
||||
@@ -209,10 +208,6 @@ define([
|
||||
return this.settingsView.toggle();
|
||||
},
|
||||
|
||||
showGroupWiki: function() {
|
||||
location.href = app.config.siteRoot + 'group/' + this.group.id + '/wiki/';
|
||||
},
|
||||
|
||||
toggleMembersPanel: function() {
|
||||
return this.membersView.toggle();
|
||||
},
|
||||
|
@@ -55,6 +55,8 @@ define([
|
||||
Common.ajaxErrorHandler(xhr);
|
||||
}
|
||||
});
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
});
|
||||
|
@@ -105,6 +105,8 @@ define([
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
return false;
|
||||
},
|
||||
|
||||
share: function() {
|
||||
@@ -119,6 +121,7 @@ define([
|
||||
'obj_name': this.model.get('name')
|
||||
};
|
||||
new ShareView(options);
|
||||
return false;
|
||||
},
|
||||
|
||||
togglePopup: function() {
|
||||
|
@@ -29,7 +29,7 @@ define([
|
||||
if (_this.collection.length == 0) {
|
||||
$('#repos-shared-to-me table').hide();
|
||||
$('#repos-shared-to-me .empty-tips').show();
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
$.ajax({
|
||||
@@ -44,6 +44,8 @@ define([
|
||||
dataType: 'json',
|
||||
success: success_callback
|
||||
});
|
||||
|
||||
return false;
|
||||
},
|
||||
|
||||
render: function() {
|
||||
|
@@ -47,7 +47,7 @@ define([
|
||||
'mods_available': app.pageOptions.user_mods_available,
|
||||
'mods_enabled': mods_enabled
|
||||
}));
|
||||
form.modal();
|
||||
form.modal({focus:false});
|
||||
$('#simplemodal-container').css('height', 'auto');
|
||||
|
||||
$('.checkbox-orig', form).click(function() {
|
||||
@@ -84,6 +84,8 @@ define([
|
||||
});
|
||||
return false;
|
||||
});
|
||||
|
||||
return false;
|
||||
},
|
||||
|
||||
setCurTab: function(cur_tab, options) {
|
||||
|
@@ -48,6 +48,8 @@ define([
|
||||
Common.ajaxErrorHandler(xhr);
|
||||
}
|
||||
});
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
});
|
||||
|
@@ -526,6 +526,8 @@ define([
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
return false;
|
||||
});
|
||||
|
||||
var _this = this;
|
||||
@@ -622,6 +624,7 @@ define([
|
||||
}
|
||||
});
|
||||
}
|
||||
return false;
|
||||
});
|
||||
$(window).resize(function() {
|
||||
var popup = $('#notice-popup');
|
||||
|
Reference in New Issue
Block a user