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 358571 | Differences between
and this patch

Collapse All | Expand All

(-)a/bundles/org.eclipse.orion.client.core/web/orion/widgets/LoginDialog.js (-2 / +11 lines)
Lines 26-31 Link Here
26
		
26
		
27
		postCreate : function() {
27
		postCreate : function() {
28
			this.inherited(arguments);
28
			this.inherited(arguments);
29
			var _self = this;
30
31
			dojo.connect(this.closeLink, "onmouseover", this.closeLink, function() {
32
				_self.closeLink.style.cursor = "pointer";
33
			});
34
			dojo.connect(this.closeLink, "onmouseout", this.closeLink, function() {
35
				_self.closeLink.style.cursor = "default";
36
			});
37
			
38
			dojo.connect(this.closeLink, "onclick", function() {dojo.hitch(_self, _self.closeDialog)();});
29
		},
39
		},
30
	
40
	
31
		setPendingAuthentication: function(services){
41
		setPendingAuthentication: function(services){
Lines 275-282 Link Here
275
	    img.src = null; // no server request
285
	    img.src = null; // no server request
276
		return url.match(re)[1].toString();
286
		return url.match(re)[1].toString();
277
		},
287
		},
278
	_onBlur: function(){
288
	closeDialog: function(){
279
		this.inherited(arguments);
280
		if(dijit.popup.hide)
289
		if(dijit.popup.hide)
281
			dijit.popup.hide(this); //close doesn't work on FF
290
			dijit.popup.hide(this); //close doesn't work on FF
282
		dijit.popup.close(this);
291
		dijit.popup.close(this);
(-)a/bundles/org.eclipse.orion.client.core/web/orion/widgets/templates/LoginDialog.html (+6 lines)
Lines 11-16 Link Here
11
			<table dojoAttachPoint="otherUnauthenticated" style="display: none; width: 100%;">
11
			<table dojoAttachPoint="otherUnauthenticated" style="display: none; width: 100%;">
12
			 <tbody dojoAttachPoint="otherUnauthenticatedList">
12
			 <tbody dojoAttachPoint="otherUnauthenticatedList">
13
			</tbody>
13
			</tbody>
14
			</table>
15
			<table class="LoginWindowRight" style="width: 100%;">
16
				<tr><td style="text-align: right;">
17
					<a class="LoginWindowRight" style="width: 100%;" dojoAttachPoint="closeLink">Close</a>
18
				</td></tr>
19
			</table>
14
		</div>
20
		</div>
15
	</div>
21
	</div>
16
	<div class="dijitTooltipConnector" role="presentation"></div>
22
	<div class="dijitTooltipConnector" role="presentation"></div>

Return to bug 358571