Remove more admin options code since it's gone from composer
This commit is contained in:
parent
71ba674167
commit
0f98c1644a
|
@ -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'),
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue