rem: this.previewSmallDOMNode.src = bx_webroot + DBFORMS2_IMG_PREVIEW_SMALL_DIR + this.value; bx_tooltip.prepare(this.previewLargeDOMNode, bx_webroot + DBFORMS2_IMG_PREVIEW_LARGE_DIR + this.value); 
add: this.previewSmallDOMNode.src = DBFORMS2_IMG_PREVIEW_SMALL_DIR + this.value; bx_tooltip.prepare(this.previewLargeDOMNode, DBFORMS2_IMG_PREVIEW_LARGE_DIR + this.value); 
context: function dbforms2_field_file_browser(DOMNode) {    var isImage;    this.init = function(DOMNode) {        this.initField(DOMNode);        this.isImage = false;                if(DOMNode.getAttribute('isImage') == '1') {            this.isImage = true;            this.previewSmallDOMNode = document.getElementById(this.DOMNode.id + "_previewSmall");            this.previewLargeDOMNode = document.getElementById(this.DOMNode.id + "_previewLarge");        }            }        this.setValue = function(value) {        this.value = value;        this.updateDOMNodeValue();        this.updatePreviewAndTooltip();    }        this.updatePreviewAndTooltip = function() {        if(this.isImage) {            if(dbforms2_helpers.isImage(this.value)) {                this.previewSmallDOMNode.src = bx_webroot + DBFORMS2_IMG_PREVIEW_SMALL_DIR + this.value;                bx_tooltip.prepare(this.previewLargeDOMNode, bx_webroot + DBFORMS2_IMG_PREVIEW_LARGE_DIR + this.value);            } else {                this.previewSmallDOMNode.src = '';                bx_tooltip.remove(this.previewLargeDOMNode);            }        }    }        this.onChange = function() {        this.value = this.DOMNode.value;        this.updatePreviewAndTooltip();    }    }
meta: 6621	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6621/4d0d0c49fe67ad71b2ee99e14c7ee4bc3db22eaa/fields.js/clean/webinc/plugins/dbforms2/fields.js