Skip to content

Commit

Permalink
fix(textareafield): remove workaround for textarea
Browse files Browse the repository at this point in the history
file drop zone removed, making the workaround useless

Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry committed Apr 2, 2020
1 parent 7ca7781 commit 45e3030
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions inc/fields/textareafield.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,6 @@ public function displayField($canEdit = true) {
'enable_richtext' => $useRichText,
'enable_fileupload' => false,
]);
if (version_compare(GLPI_VERSION, '9.4.6') < 0) {
echo '</div>';
}
echo Html::scriptBlock("$(function() {
pluginFormcreatorInitializeTextarea('$fieldName', '$rand');
});");
Expand Down

0 comments on commit 45e3030

Please sign in to comment.