Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 325753
Collapse All | Expand All

(-)src/org/eclipse/rwt/widgets/Upload.js (+17 lines)
Lines 321-326 Link Here
321
        this._uploadButton.setLabel( uploadButtonText );
321
        this._uploadButton.setLabel( uploadButtonText );
322
        this._uploadButton.setWidth( width );
322
        this._uploadButton.setWidth( width );
323
      }
323
      }
324
    },
325
    
326
    // 325753: [upload] Styling of text widget border is not applied correctly
327
	// https://bugs.eclipse.org/bugs/show_bug.cgi?id=325753
328
    addState : function(vState) {
329
    	// Delegate styles ("rwt_BORDER") to TextField
330
    	if (this._uploadField && this._uploadField._text) {
331
    		this._uploadField._text.addState(vState);
332
    	}
333
    },
334
    
335
    removeState : function(vState) {
336
    	// Delegate styles ("rwt_BORDER") to TextField
337
    	if (this._uploadField && this._uploadField._text) {
338
    		this._uploadField._text.removeState(vState);
339
    	}
324
    }
340
    }
341
    
325
  }
342
  }
326
} );
343
} );

Return to bug 325753