Files
gerrit/gerrit-gwtui
Edwin Kempin de7b69d4e3 GWT UI: Fix Javascript error on unmarking private on a change
Due to another bug the "Unmark Private" button is shown twice on the change screen. One triggers a DELETE request, the other a POST request. When clicking on the "Unmark Private" button that triggers a POST request the following error occurred in the client:

SEVERE: (TypeError) : Cannot read property 'alert' of null
Class$S171: (TypeError) : Cannot read property 'alert' of null
	at Unknown.$alert(gerrit_ui-0.js)
	at Unknown.onSuccess_158(gerrit_ui-0.js)
	at Unknown.onSuccess_159(gerrit_ui-0.js)
	at Unknown.onSuccess_355(gerrit_ui-0.js)
	at Unknown.onResponseReceived_1(gerrit_ui-0.js)
	at Unknown.fireOnResponseReceived(gerrit_ui-0.js)
	at Unknown.onReadyStateChange(gerrit_ui-0.js)
	at Unknown.<anonymous>(gerrit_ui-0.js)
	at Unknown.apply_9(gerrit_ui-0.js)
	at Unknown.entry0(gerrit_ui-0.js)
	at Unknown.<anonymous>(gerrit_ui-0.js)

Change-Id: I6f34e258113ee55952bd2d6e0f665622c56a162f
Signed-off-by: Edwin Kempin <ekempin@google.com>
2017-05-10 13:30:14 +02:00
..
2016-12-07 11:33:07 +00:00