Skip to content

Commit 8ac7bb2

Browse files
authored
Merge pull request #22 from dmstr/marc7000-patch-1
updated inline script registration
2 parents 3449dcc + e4c1c36 commit 8ac7bb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/widgets/FileManagerInputWidget.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ protected function registerClientScript()
188188
});
189189
JS;
190190

191-
$this->view->registerJs($initJs, View::POS_HEAD);
191+
$this->view->registerJs($initJs, View::POS_READY);
192192

193193
// format result markup and register addon button scripts and events
194194
// we need a separate searchData func for EVERY instance to be able to inject search params

0 commit comments

Comments
 (0)