This documentation is for the old version. Go to the latest Upload Suite docs

JavaScript API Changes between Versions 1 and 7

commonDialog Class

Properties

Old Member New Member
public property commonDialog.cancelButton commonDialog.cancelButtonText
public property commonDialog.okButton commonDialog.okButtonText

debug Class

Properties

Old Member New Member
public property debug.traceMode Eliminated. Use debug.mode instead.

Methods

Old Member New Member
public function debug.showMessage(String,Number) Eliminated. Use debug.showInfo(String) instead.
public function debug.showWarning(String) Eliminated. Use debug.showInfo(String) instead.
public function debug.trace(String) Eliminated. Use debug.showInfo(String) instead.

imagePreviewWindow Class

Properties

Old Member New Member
public property imagePreviewWindow.closePreviewToolTip imagePreviewWindow.closePreviewTooltip

imageUploaderFlash Class

Properties

Old Member New Member
public property imageUploaderFlash.listView imageUploaderFlash.uploadPane
public property imageUploaderFlash.statusPanel imageUploaderFlash.statusPane
public property imageUploaderFlash.topPanel imageUploaderFlash.topPane
public property imageUploaderFlash.upload imageUploaderFlash.uploadSettings

Methods

Old Member New Member
public function imageUploaderFlash.stop imageUploaderFlash.cancelUpload()
public function imageUploaderFlash.send imageUploaderFlash.upload()

listView Class

The listView class is replaced with the uploadPane and paneItem classes.

Properties

Old Member New Member
public property listView.addFilesButton uploadPane.addFilesButtonText
public property listView.descriptionIconToolTip paneItem.descriptionEditorIconTooltip
public property listView.enableDescription imageUploaderFlash.enableDescriptionEditor
public property listView.enableImageRotation imageUploaderFlash.enableRotation
public property listView.iconItemWidth uploadPane.iconItemWidth
public property listView.iconSize uploadPane.iconSize
public property listView.imageToolTip paneItem.imageTooltip
public property listView.itemToolTip paneItem.itemTooltip
public property listView.removeIconToolTip paneItem.removalIconTooltip
public property listView.rotateIconToolTip paneItem.rotationIconTooltip
public property listView.thumbnailPreviewSize uploadPane.thumbnailPreviewSize
public property listView.tileItemWidth uploadPane.tileItemWidth
public property listView.tilePreviewSize uploadPane.tilePreviewSize
public property listView.view uploadPane.viewMode

messages Class

Properties

Old Member New Member
public property messages.cannotReadFileError messages.cannotReadFile
public property messages.fileTooLargeError messages.maxFileSizeExceeded
public property messages.fileTooSmallError messages.fileSizeTooSmall
public property messages.imageHeightTooLargeError Eliminated. Use messages.dimensionsTooLarge instead.
public property messages.imageHeightTooSmallError Eliminated. Use messages.dimensionsTooSmallDimensionsTooSmall (ASP.NET)DimensionsTooSmall (PHP)dimensionsTooSmall (JavaScript) instead.
public property messages.imageWidthTooLargeError Eliminated. Use messages.dimensionsTooLargeDimensionsTooLarge (ASP.NET)DimensionsTooLarge (PHP)dimensionsTooLarge (JavaScript) instead.
public property messages.imageWidthTooSmallError Eliminated. Use messages.dimensionsTooSmall instead.
public property messages.notAllFilesWereAddedError messages.filesNotAdded
public property messages.previewNotAvailableError messages.previewNotAvailable
public property messages.tooFewFilesError messages.tooFewFiles
public property messages.tooManyFilesError messages.maxFileCountExceeded
public property messages.totalFileSizeTooLargeError messages.maxTotalFileSizeExceeded

metadata Class

Methods

Old Member New Member
public function metadata.addField(String,String) metadata.addCustomField(String, String, Boolean)

restrictions Class

Properties

Old Member New Member
public property restrictions.fileFilters restrictions.fileMask
public property restrictions.maxTotalSize restrictions.maxTotalFileSize

statusPanel Class

The statusPanel class is renamed to statusPane.

Properties

Old Member New Member
public property statusPanel.dataUploadedLabel statusPane.dataUploadedText
public property statusPanel.filesPreparedLabel statusPane.filesPreparedText
public property statusPanel.filesUploadedLabel statusPane.filesUploadedText
public property statusPanel.preparingLabel statusPane.preparingText
public property statusPanel.sendButton imageUploaderFlash.uploadButtonText
public property statusPanel.sendingLabel statusPane.sendingText
public property statusPanel.stopButton imageUploaderFlash.cancelUploadButtonText
public property statusPanel.totalFilesLabel statusPane.noFilesToUploadText
statusPane.filesToUploadText

topPanel Class

The topPanel class is renamed to topPane.

Properties

Old Member New Member
public property topPanel.addFilesLink topPane.addFilesHyperlinkText
public property topPanel.orLabel topPane.orText
public property topPanel.removeAllFilesLink topPane.clearAllHyperlinkText
public property topPanel.titleLabel topPane.titleText
public property topPanel.viewComboBoxLabel topPane.viewComboBoxText

upload Class

The upload class is renamed to uploadSettings.

Properties

Old Member New Member
public property upload.actionUrl uploadSettings.actionUrl
public property upload.redirectUrl uploadSettings.redirectUrl

uploadErrorDialog Class

Properties

Old Member New Member
public property uploadErrorDialog.hideDetails uploadErrorDialog.hideDetailsButtonText
public property uploadErrorDialog.showDetails uploadErrorDialog.showDetailsButtonText