Remove more admin options code since it's gone from composer

This commit is contained in:
Neil Lalonde 2014-03-26 10:19:01 -04:00
parent 71ba674167
commit 0f98c1644a
3 changed files with 0 additions and 23 deletions

View File

@ -449,19 +449,6 @@ Discourse.ComposerView = Discourse.View.extend(Ember.Evented, {
this._unbindUploadTarget(); this._unbindUploadTarget();
}, },
toggleAdminOptions: function() {
var $adminOpts = $('.admin-options-form'),
$wmd = $('.wmd-controls'),
wmdTop = parseInt($wmd.css('top'),10);
if( $adminOpts.is(':visible') ) {
$wmd.css('top', wmdTop - parseInt($adminOpts.css('height'),10) + 'px' );
$adminOpts.hide();
} else {
$adminOpts.show();
$wmd.css('top', wmdTop + parseInt($adminOpts.css('height'),10) + 'px' );
}
},
titleValidation: function() { titleValidation: function() {
var titleLength = this.get('model.titleLength'), var titleLength = this.get('model.titleLength'),
missingChars = this.get('model.missingTitleCharacters'), missingChars = this.get('model.missingTitleCharacters'),

View File

@ -544,11 +544,6 @@ div.ac-wrap {
} }
} }
.admin-options-form {
display: none;
margin-top: -15px;
}
.auto-close-fields { .auto-close-fields {
input { input {
width: 150px; width: 150px;

View File

@ -456,11 +456,6 @@ div.ac-wrap {
} }
} }
.admin-options-form {
margin-top: 8px;
display: none;
}
.auto-close-fields { .auto-close-fields {
input { input {
width: 50px; width: 50px;