added Keep Selected button to console, map view, topic view

This commit is contained in:
Devin Howard 2013-03-21 21:33:42 -04:00
parent 6ac05fa2c6
commit e5095093ec
3 changed files with 3 additions and 0 deletions

View file

@ -7,6 +7,7 @@
#%>
<div class="headertop">
<button onclick="hideSelectedEdges();hideSelectedNodes();">Hide Selected</button>
<button onclick="enterKeyHandler();">Keep Selected</button>
<% if authenticated? %>
<button onclick="var r=confirm('Are you sure you want to permanently delete selected objects?!'); if (r == true) {deleteSelectedEdges();deleteSelectedNodes();}">Permanently Delete Selected</button>
<button onclick="saveToMap();">Save to Map</button>

View file

@ -9,6 +9,7 @@
<button onclick="if (!goRealtime) { this.innerHTML = 'Stop Realtime'; } else if (goRealtime) { this.innerHTML = 'Start Realtime'; } goRealtime = !goRealtime;">Start Realtime</button>
<% end %>
<button onclick="hideSelectedEdges();hideSelectedNodes();">Hide Selected</button>
<button onclick="enterKeyPressed();">Keep Selected</button>
<% if authenticated? %>
<% if (@map.permission == "commons" && authenticated?) || @map.user == user %>
<button onclick="removeSelectedEdges();removeSelectedNodes();">Remove Selected From Map</button>

View file

@ -15,6 +15,7 @@
#%>
<div class="headertop">
<button onclick="enterKeyPressed();">Keep Selected</button>
<% if authenticated? %>
<button onclick="saveToMap();">Save to Map</button>
<% end %>