Source
122
122
if ('maxlength' in obj.options) {
123
123
$textarea.attr('maxlength', obj.options.maxlength);
124
124
$footer.html(sprintf(t('S_N_CHAR_COUNT_REMAINING'), '<span>0</span>'));
125
125
}
126
126
else {
127
127
$footer.html(sprintf(t('S_N_CHAR_COUNT'), '<span>0</span>'));
128
128
}
129
129
130
130
overlayDialogue({
131
131
'title': obj.options.title,
132
-
'class': 'modal-popup multilineinput-modal position-middle',
132
+
'class': 'modal-popup multilineinput-modal',
133
133
'content': $content,
134
134
'footer': $footer,
135
135
'buttons': [
136
136
{
137
137
title: t('S_APPLY'),
138
138
action: function() {
139
139
obj.$node.multilineInput('value', $textarea.val());
140
140
},
141
141
enabled: !obj.options.readonly
142
142
},