@@ -221,7 +221,7 @@ function addFolder()
221221function 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