Skip to content

Commit

Permalink
CMS JS bug fix
Browse files Browse the repository at this point in the history
Don't overwrite libs bundled into: 
/resources/vendor/silverstripe/admin/client/dist/js/vendor.js
  • Loading branch information
a2nt authored and jonom committed May 28, 2018
1 parent 42ec040 commit 283e8ee
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/TextTargetLengthExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ public function setTargetLength($idealCharCount, $minCharCount = null, $maxCharC
$field->setAttribute('data-hint-length-adequate', _t('TextTargetLength.LengthAdequate', 'Okay'));
$field->setAttribute('data-hint-length-ideal', _t('TextTargetLength.LengthIdeal', 'Great!'));

Requirements::javascript('silverstripe/admin:thirdparty/jquery/jquery.js');
Requirements::javascript('silverstripe/admin:thirdparty/jquery-entwine/dist/jquery.entwine-dist.js');
Requirements::javascript('jonom/silverstripe-text-target-length:client/javascript/text-target-length.js');
Requirements::css('jonom/silverstripe-text-target-length:client/css/text-target-length.css');

Expand Down

0 comments on commit 283e8ee

Please sign in to comment.