changed comma seperated filetypes to space seperated

This commit is contained in:
pradeep
2013-07-25 14:02:54 +05:30
parent 94598da30a
commit fc61510078
2 changed files with 2 additions and 2 deletions

View File

@@ -115,7 +115,7 @@ switch($_GET['action']){
<tr>
<td width="65%">
<label><?php i18n("File Type:"); ?></label>
<input type="text" name="search_file_type" placeholder="comma seperated file types eg: js,c,php">
<input type="text" name="search_file_type" placeholder="space seperated file types eg: js c php">
</td>
<td>
</td>

View File

@@ -648,7 +648,7 @@
searchFileType=$.trim(fileExtensions);
if (searchFileType != '') {
//season the string to use in find command
searchFileType = "\\(" + searchFileType.replace(/,/g, "\\|") + "\\)";
searchFileType = "\\(" + searchFileType.replace(/\s+/g, "\\|") + "\\)";
}
searchType = $('#modal-content form select[name="search_type"]')
.val();