1.1pre1
This commit is contained in:
parent
3a2b273316
commit
6b030fd41d
83 changed files with 1089 additions and 136 deletions
|
@ -16,3 +16,7 @@ $(function(){
|
|||
$('select#branch').selectmenu({style:'popup', width:200});
|
||||
$('select#tag').selectmenu({style:'popup', width:200});
|
||||
});
|
||||
|
||||
function updatePage(){
|
||||
$.ajax({type: "GET", url: location.href, dataType: "script"});
|
||||
}
|
||||
|
|
9
app/assets/javascripts/snippets.js
Normal file
9
app/assets/javascripts/snippets.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
$(document).ready(function(){
|
||||
$("#snippets-table .snippet").live('click', function(e){
|
||||
if(e.target.nodeName != "A" && e.target.nodeName != "INPUT") {
|
||||
location.href = $(this).attr("url");
|
||||
e.stopPropagation();
|
||||
return false;
|
||||
}
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue