Skip to content

Commit

Permalink
Changing names of buttons since source isn't private.
Browse files Browse the repository at this point in the history
  • Loading branch information
dyoo committed Apr 16, 2013
1 parent 796c74d commit 0678794
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions war-src/js/sharingdialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,13 @@ goog.require("plt.wescheme.WeSchemeIntentBus");
};

if (this.pid) {
dialogWindow.append(jQuery("<p/>").text("Do you wish to share with source?"));
dialogWindow.append(jQuery("<p/>").text("Do you wish to share with an \"Edit Source\" button?"));
dialogWindow.dialog({title: 'Sharing your program',
bgiframe : true,
modal : true,
overlay : {opacity: 0.5, background: 'black'},
buttons : { "Share source" : shareWithSource,
"Keep source private" : shareWithoutSource }
buttons : { "Include \"Edit Source\" button" : shareWithSource,
"Omit \"Edit Source\" button" : shareWithoutSource }
});
dialogWindow.dialog("open");
} else {
Expand Down
2 changes: 1 addition & 1 deletion war/WEB-INF/appengine-web.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
<application>wescheme</application>
<version>69</version>
<version>71</version>

<!-- Configure java.util.logging -->
<system-properties>
Expand Down
4 changes: 2 additions & 2 deletions war/view.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,14 @@ WeScheme is unable to find your program.

<% if (aProgram != null) { %>
<a id="runIt" class="linkbutton"
href="/run?publicId=<%= encodedId %>">Run it!</a>
href="/run?publicId=<%= encodedId %>">Play</a>
<% } %>


<% if (aProgram != null && isPublic) { %>
<a id="viewSource"
class="linkbutton"
href="/openEditor?publicId=<%= encodedId %>">View source</a>
href="/openEditor?publicId=<%= encodedId %>">Edit</a>
<% } %>

<% if (false) { %>
Expand Down

0 comments on commit 0678794

Please sign in to comment.