diff --git a/concrete/src/Application/Service/FileManager.php b/concrete/src/Application/Service/FileManager.php
index <HASH>..<HASH> 100644
--- a/concrete/src/Application/Service/FileManager.php
+++ b/concrete/src/Application/Service/FileManager.php
@@ -60,7 +60,7 @@ class FileManager
 		<div class="ccm-file-selector" data-file-selector="{$id}"></div>
 		<script type="text/javascript">
 		$(function() {
-			$('[data-file-selector={$id}]').concreteFileSelector({$args});
+			$('[data-file-selector="{$id}"]').concreteFileSelector({$args});
 		});
 		</script>
 EOL;
Escape element selector for adding file selector