MDL-11351 Removed a redundant check for a multiLang JS variable

This commit is contained in:
nicolasconnault
2007-09-21 09:12:45 +00:00
parent 874833bf64
commit edf9554096
+3 -5
View File
@@ -225,7 +225,7 @@ HTMLArea.Config = function () {
$key = str_replace('_', '-', $key);
$strlangarray .= '"'.$key.' ": "'.$key.'_ML",';
}
$strlangarray = substr($strlangarray, 0, -1);
$strlangarray = substr($strlangarray, 0, -1);
echo $strlangarray;
?>
};
@@ -1979,9 +1979,7 @@ HTMLArea.prototype.setLang = function(lang) {
if (insertNewSpan && lang != '') {
var str = '<span lang="'+lang.trim()+'"';
if (multiLang) {
str += ' class="multilang"';
}
str += ' class="multilang"';
str += '>';
str += selectedHTML;
str += '</span>';
@@ -2153,7 +2151,7 @@ HTMLArea.prototype._editorEvent = function(ev) {
case ',': cmd = "subscript"; break;
case '.': cmd = "superscript"; break;
case 'v':
case 'v':
if (! HTMLArea.is_gecko ) {
cmd = "paste";
}