webgui/www/extras/AttachmentsControl/AttachmentsControl.js
JT Smith 350d7f6e01 - api: You may now use a displayOnly attribute in your asset properties list
that will display a field, but is not settable via the update() method.
 - api: You may now use a customDrawMethod attribute in your asset properties
   list that will enable you to add custom display options for that fields when
   the edit form is automatically generated.
 - Added file attachments to the Wiki.
 - Added a new attachments form control.
 - Added a form control skeleton.
2007-07-25 22:22:49 +00:00

12 lines
299 B
JavaScript

WebguiAttachmentUploadForm = function () {
return {
show: function () {
document.getElementById("uploadForm").style.display = "block";
},
hide: function () {
document.getElementById("uploadForm").style.display = "none";
}
}
}();