Skip to content

Commit ab0e359

Browse files
author
mreishman
committed
more changes to test list
1 parent 9c1f9e3 commit ab0e359

File tree

5 files changed

+2
-11
lines changed

5 files changed

+2
-11
lines changed

core/img/fileIconNR.png

4.95 KB
Loading

core/img/fileIconNW.png

25.6 KB
Loading

core/img/folderIconNR.png

4.9 KB
Loading

core/img/folderIconNW.png

4.75 KB
Loading

core/js/settingsWatchlist.js

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ function addFolder()
221221
function addFileFolderAjax(fileType, sentLocation)
222222
{
223223
hidePopup();
224-
displayLoadingPopup("../");
224+
displayLoadingPopup();
225225
var urlForSend = "../core/php/getFileFolderData.php?format=json";
226226
var data = {currentFolder: sentLocation, filter: defaultNewAddPattern};
227227
$.ajax({
@@ -729,22 +729,13 @@ function updateFileInfo(currentRow)
729729
var stringToUpdateTo = "{";
730730
var listOfFiles = document.getElementsByName("watchListKey"+currentRow+"FileInFolder");
731731
var listOfFilesInclude = document.getElementsByName("watchListKey"+currentRow+"FileInFolderInclude");
732-
var listOfFilesTrim = document.getElementsByName("watchListKey"+currentRow+"FileInFolderTrim");
733-
var listOfFilesDelete = document.getElementsByName("watchListKey"+currentRow+"ExcludeDelete");
734-
var listOfFilesName = document.getElementsByName("watchListKey"+currentRow+"FileInFolderName");
735-
var listOfFilesAlert = document.getElementsByName("watchListKey"+currentRow+"FileInFolderAlert");
736-
737732
if(listOfFiles)
738733
{
739734
listOfFilesLength = listOfFiles.length;
740735
for (var i = 0; i < listOfFilesLength; i++)
741736
{
742737
stringToUpdateTo += "\""+listOfFiles[i].value+"\" : {";
743-
stringToUpdateTo += " \"Include\": \""+listOfFilesInclude[i].value + "\" , ";
744-
stringToUpdateTo += " \"Trim\": \""+listOfFilesTrim[i].value + "\" , ";
745-
stringToUpdateTo += " \"Delete\": \""+listOfFilesDelete[i].value + "\", ";
746-
stringToUpdateTo += " \"Name\": \""+listOfFilesName[i].value + "\", ";
747-
stringToUpdateTo += " \"Alert\": \""+listOfFilesAlert[i].value + "\" ";
738+
stringToUpdateTo += " \"Include\": \""+listOfFilesInclude[i].value + "\"";
748739
stringToUpdateTo += "}";
749740
if(i !== (listOfFilesLength - 1))
750741
{

0 commit comments

Comments
 (0)