mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-06 13:35:50 +01:00
Disable GET Ajax cache.
This commit is contained in:
@@ -57,7 +57,4 @@
|
|||||||
@body
|
@body
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
<script>
|
|
||||||
$(function(){ prettyPrint(); });
|
|
||||||
</script>
|
|
||||||
</html>
|
</html>
|
||||||
@@ -1,5 +1,11 @@
|
|||||||
$(function(){
|
$(function(){
|
||||||
|
$.ajaxSetup({
|
||||||
|
cache: false
|
||||||
|
});
|
||||||
|
|
||||||
$('#repository-url').click(function(){
|
$('#repository-url').click(function(){
|
||||||
this.select(0, this.value.length);
|
this.select(0, this.value.length);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
prettyPrint();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user