Author: jonathan
Date: Fri Jan 25 17:39:13 2008
New Revision: 12937
Log:
MASHUP-594
Modified:
trunk/mashup/java/modules/www/editor.jsp
Modified: trunk/mashup/java/modules/www/editor.jsp
==============================================================================
--- trunk/mashup/java/modules/www/editor.jsp (original)
+++ trunk/mashup/java/modules/www/editor.jsp Fri Jan 25 17:39:13 2008
@@ -248,7 +248,7 @@
%>
}
-function discarChanges(){
+function discardChanges(){
window.location = "<%=bounceback%>";
}
@@ -334,11 +334,12 @@
<br>
<div style="padding-top: 10px;"><label id="source_save_status"
style="float: left;">Tip: You can
- use the button on
- the right to save changes.</label>
- <input type="button" value="Disacard changes"
onclick="discarChanges();" style="float: right;"/>
- <input type="button" value="Save changes"
onclick="saveServiceSource(mashup_code_text.getCode(),true);" style="float:
right;"/>
- <input type="button" value="Apply changes"
onclick="saveServiceSource(mashup_code_text.getCode(),false);" style="float:
right;"/>
+ use the buttons on the right to save or discard changes.</label>
+ <span style="float:right">
+ <input type="button" value="Discard changes"
onclick="discardChanges();"/>
+ <input type="button" value="Apply changes"
onclick="saveServiceSource(mashup_code_text.getCode(),false);"/>
+ <input type="button" value="Save changes"
onclick="saveServiceSource(mashup_code_text.getCode(),true);"/>
+ </span>
</div>
</div>
<div class="panel" id="ui_code" style="display: block">
@@ -449,10 +450,11 @@
<div style="padding-top: 10px;"><label id="ui_save_status" style="float:
left;">Tip: You can
use the button on
the right to save changes.</label>
- <input type="button" value="Discard changes" onclick="discarChanges();"
style="float: right;"/>
- <input type="button" value="Save changes"
onclick="saveUiSource(ui_code_text.getCode(),true);" style="float: right;"/>
- <input type="button" value="Apply changes"
onclick="saveUiSource(ui_code_text.getCode(),false);" style="float: right;"/>
-
+ <span style="float:right">
+ <input type="button" value="Discard changes"
onclick="discardChanges();" />
+ <input type="button" value="Apply changes"
onclick="saveUiSource(ui_code_text.getCode(),false);" />
+ <input type="button" value="Save changes"
onclick="saveUiSource(ui_code_text.getCode(),true);" />
+ </span>
</div>
</div>
</div>
_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev