fix selectors

This commit is contained in:
leon 2017-03-10 11:37:22 +13:00
parent eb7dec9292
commit 4d2503f0fb

View file

@ -173,22 +173,22 @@ jQuery(document).ready(function($){
$(targetExportSettingsBlock).find('#cleanMeta')[0].checked = settingsBlock.cleanMeta;
// retainStaticFiles
$(targetExportSettingsBlock).find('retainStaticFiles')[0].checked = settingsBlock.retainStaticFiles;
$(targetExportSettingsBlock).find('#retainStaticFiles')[0].checked = settingsBlock.retainStaticFiles;
// sendViaFTP
$(targetExportSettingsBlock).find('sendViaFTP')[0].checked = settingsBlock.sendViaFTP;
$(targetExportSettingsBlock).find('#sendViaFTP')[0].checked = settingsBlock.sendViaFTP;
// ftpServer
$(targetExportSettingsBlock).find('ftpServer').val(settingsBlock.ftpServer);
$(targetExportSettingsBlock).find('#ftpServer').val(settingsBlock.ftpServer);
// ftpUsername
$(targetExportSettingsBlock).find('ftpUsername').val(settingsBlock.ftpUsername);
$(targetExportSettingsBlock).find('#ftpUsername').val(settingsBlock.ftpUsername);
// ftpPassword
$(targetExportSettingsBlock).find('ftpPassword').val(settingsBlock.ftpPassword);
$(targetExportSettingsBlock).find('#ftpPassword').val(settingsBlock.ftpPassword);
// ftpRemotePath
$(targetExportSettingsBlock).find('ftpRemotePath').val(settingsBlock.ftpRemotePath);
$(targetExportSettingsBlock).find('#ftpRemotePath').val(settingsBlock.ftpRemotePath);
});