Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dev: fix question-container.row align offset (#913)
Dev: fix question-container.row align offest Dev: add ajax loader
- Loading branch information
1 parent
5a7bc0a
commit d60bd4e
Showing
2 changed files
with
17 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 13 additions & 17 deletions
30
themes/survey/vanilla/views/subviews/navigation/ajax_indicator.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,13 @@ | ||
{# | ||
LimeSurvey | ||
Copyright (C) 2007-2017 The LimeSurvey Project Team / Louis Gac | ||
All rights reserved. | ||
License: GNU/GPL License v2 or later, see LICENSE.php | ||
LimeSurvey is free software. This version may have been modified pursuant | ||
to the GNU General Public License, and as distributed it includes or | ||
is derivative of works licensed under the GNU General Public License or | ||
other free or open source software licenses. | ||
See COPYRIGHT.php for copyright notices and details. | ||
(¯`·._.·(¯`·._.· Clear all links: Shows the exit button ·._.·´¯)·._.·´¯) | ||
This file render the ajax indicator | ||
In vanilla, this file is empty, we keep it to have a common layout between all core themes | ||
#} | ||
<script> | ||
$.ajaxSetup({ | ||
beforeSend:function(){ | ||
// show gif here, eg: | ||
$("#ajax-loading").show(); | ||
}, | ||
complete:function(){ | ||
// hide gif here, eg: | ||
$("#ajax-loading").hide(); | ||
} | ||
}); | ||
</script> | ||
<div id="ajax-loading" hidden></div> |