projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b89d0aa
)
web/js/mtrack.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 27 Jan 2011 05:22:01 +0000
(13:22 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 27 Jan 2011 05:22:01 +0000
(13:22 +0800)
web/js/mtrack.js
patch
|
blob
|
history
diff --git
a/web/js/mtrack.js
b/web/js/mtrack.js
index
7ffffde
..
1ea0704
100644
(file)
--- a/
web/js/mtrack.js
+++ b/
web/js/mtrack.js
@@
-142,6
+142,9
@@
function compute_floats()
$(document).ready(function() {
viewblock = $('#tkt-view-button-block');
editblock = $('#tkt-edit-button-block');
+ if (id == 'new'){
+ editblock.show();
+ }
view_off = viewblock.offset();
view_pos = viewblock.css('position');