Add loading indicator to wiki previewing.

This commit is contained in:
takezoe
2013-05-18 13:03:07 +09:00
parent 42eded8e2c
commit f0cbd4f5bd
3 changed files with 1 additions and 0 deletions

View File

@@ -45,6 +45,7 @@
<script>
$(function(){
$('#preview').click(function(){
$('#preview-area').html('<img src="@path/assets/common/images/indicator.gif"> Previewing...');
$.post('@path/@repository.owner/@repository.name/wiki/_preview', {
content: $('#content').val()
}, function(data){

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 734 B