Permalink
Browse files

-nc

  • Loading branch information...
robengel
robengel committed Jul 13, 2011
1 parent 33367ce commit e15de255fb4f088e99b83370e6bac55d74420aae
@@ -47,6 +47,7 @@ var requestView = 0;
var reportView = 1;
var isTapHold = false;
var isiPad = false;
+var tapHoldTimeout;
$(window).resize(function() {
pageResize();
@@ -135,8 +136,15 @@ $(document).ready(function () {
});
}});
- $('#map_canvas').click(function(){
- isTapHold = true;
+ $('#map_canvas').mousedown(function(){
+ var f = function(){
+ isTapHold = true;
+ };
+ tapHoldTimeout = setTimeout(f, 500);
+ });
+
+ $('#map_canvas').mouseup(function(){
+ clearTimeout(tapHoldTimeout);
});
google.maps.event.addListener(globalMap, 'zoom_changed', function() {
@@ -29,8 +29,10 @@ html, body {
position: relative;
/*bottom: 0px;*/
width: 100%;
+ /*
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #EEE), color-stop(1, #DDD));
- text-align: center;
+ */
+ text-align: center;
padding-bottom: 15px;
}
@@ -220,7 +222,6 @@ select {
margin-bottom: 10px;
width: 95%;
font-size: larger;
- padding: .6em 25px;
display: block;
height: 35px;
text-overflow: ellipsis;
@@ -64,7 +64,7 @@ <h1 class="page-h1">Do you want to add this as a place?</h1>
<div class='header ui-bar-a ui-header'>
<input class='button ui-btn-left' type='submit' onclick="return showMap();" value='Back'/>
- <h1 class='ui-title'>Place</h1>
+ <h1 class='ui-title'>Logs</h1>
<input class='button ui-btn-right' type='submit' onclick="return showEditPlace();" value='Edit'/>
</div>
@@ -109,6 +109,7 @@ <h1 class='page-h1' id='task-name-h1'></h1>
<div class='submit-div'>
<input class='submit-button big-button' type="submit" value="Submit Task" class="submit-button"/>
</div>
+ <input class='big-button' type="button" value="Back to Logs" onclick="return showLog(selectedPlace.id);"/>
<input class='big-button' type="submit" value="Back to Map" onclick="return showMap();"/>
</form>
</div>
@@ -163,6 +164,7 @@ <h1 class='page-h1' id='report-name-h1'></h1>
<div class='submit-div'>
<input class='submit-button big-button' type="submit" value="Submit Report" class="submit-button"/>
</div>
+ <input class='big-button' type="button" value="Back to Logs" onclick="return showLog(selectedPlace.id);"/>
<input class='big-button' type="submit" value="Back to Map" onclick="return showMap();"/>
</form>
</div>

0 comments on commit e15de25

Please sign in to comment.