Skip to content

Commit

Permalink
Removed support for bower in userform_ctrl
Browse files Browse the repository at this point in the history
  • Loading branch information
jbogdani committed Mar 21, 2021
1 parent b966159 commit 30811a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/userform/userform.php
Original file line number Diff line number Diff line change
Expand Up @@ -467,8 +467,8 @@ function recaptchaCallback(){
array_push($js, "userform.whatchForm('" . $uid . "');");

if (is_array($upload)) {
$out->setQueue('modules', "\n" . '<link type="text/css" rel="stylesheet" href="./bower_components/fine-uploader/dist/fine-uploader.min.css" />', true);
$out->setQueue('modules', "\n" . '<script src="./bower_components/fine-uploader/dist/fine-uploader.min.js"></script>', true);
$out->setQueue('modules', "\n" . '<link type="text/css" rel="stylesheet" href="./frontLibs/fine-uploader/fine-uploader.min.css" />', true);
$out->setQueue('modules', "\n" . '<script src="./frontLibs/fine-uploader/fine-uploader.min.js"></script>', true);

foreach($upload as $el=>$opts) {
array_push($js, "userform.upload_file('" . $param['content']. "', 'upl_" . $el . "', " . json_encode($opts). ");");
Expand Down
1 change: 1 addition & 0 deletions version
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
5.5.8[] = "Removed support for bower in userform_ctrl"
5.5.8[] = "DownloadAndCount::resolvePath is static method"
5.5.7[] = "Typo fix"
5.5.6[] = "Typo fix"
Expand Down

0 comments on commit 30811a4

Please sign in to comment.