comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/AbstractUIProvider.java @ 89:131e3f23a74e

Modified the URL of the 'back button' image. flys-client/trunk@1601 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 29 Mar 2011 09:45:57 +0000
parents 4784ca718476
children b92281182c6b
comparison
equal deleted inserted replaced
88:4d7c6a63602b 89:131e3f23a74e
138 * @param targetState The identifier of the target state. 138 * @param targetState The identifier of the target state.
139 * 139 *
140 * @return the 'back' button. 140 * @return the 'back' button.
141 */ 141 */
142 protected Canvas getBackButton(final String targetState) { 142 protected Canvas getBackButton(final String targetState) {
143 Img back = new Img(MSG.imageBack(), 16, 16); 143 String url = GWT.getHostPageBaseURL() + MSG.imageBack();
144 Img back = new Img(url, 16, 16);
144 145
145 back.addClickHandler(new ClickHandler() { 146 back.addClickHandler(new ClickHandler() {
146 public void onClick(ClickEvent event) { 147 public void onClick(ClickEvent event) {
147 fireStepBackEvent(new StepBackEvent(targetState)); 148 fireStepBackEvent(new StepBackEvent(targetState));
148 } 149 }

http://dive4elements.wald.intevation.org