Skip to content

Commit

Permalink
Caps normalization
Browse files Browse the repository at this point in the history
  • Loading branch information
deleted committed Oct 4, 2012
1 parent 224ec51 commit 1b9d6e5
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions geocamTiePoint/static/geocamTiePoint/js/backbone/views.js
Expand Up @@ -405,10 +405,10 @@ $(function($) {

template:
'<div id="workflow_controls">' +
'<button id="save">save</button>'+
'<button id="undo" onclick="undo()">undo</button>'+
'<button id="redo" onclick="redo()">redo</button>'+
'<button id="export" disabled="true">export</button>'+
'<button id="save">Save</button>'+
'<button id="undo" onclick="undo()">Undo</button>'+
'<button id="redo" onclick="redo()">Redo</button>'+
'<button id="export" disabled="true">Export</button>'+
'</div>' +
'<input type="search" id="locationSearch" placeholder="Jump to a location"></input>' +
'<div id="zoom_controls">' +
Expand Down Expand Up @@ -519,12 +519,13 @@ $(function($) {

$('button#save').click( function() {
var button = $(this);
button.data('original-text', button.text());
button.disabled = true;
overlay.warp({
success: function(model, response) {
button.disabled = false;
button.text("WARPED");
_.delay(function(){button.text("save");}, 1000);
_.delay(function(){button.text(button.data('original-text'));}, 1000);
$('input#show_overlay').attr('checked', true).change();
},
error: function(model, response) {
Expand Down

0 comments on commit 1b9d6e5

Please sign in to comment.