Update from 1.11.x

pull/2881/head
Julio Montoya 7 years ago
parent d63de1c0f3
commit 048c5022a7
  1. 4
      main/announcements/announcements.php
  2. 2
      main/inc/lib/javascript/annotation/js/annotation.js
  3. 2
      main/inc/lib/javascript/badge-studio/media/js/studio.js
  4. 2
      plugin/bbb/resources/utils.js
  5. 2
      plugin/buycourses/view/sales_report.tpl
  6. 2
      plugin/buycourses/view/service_panel.tpl
  7. 2
      plugin/buycourses/view/service_sales_report.tpl
  8. 2
      plugin/grading_electronic/view/grading.html.twig
  9. 2
      plugin/tour/views/script.tpl

@ -523,7 +523,7 @@ switch ($action) {
$form->addHtml(" $form->addHtml("
<script> <script>
$(document).on('ready', function () { $(function () {
$('#announcement_preview').on('click', function() { $('#announcement_preview').on('click', function() {
var users = []; var users = [];
$('#users_to option').each(function() { $('#users_to option').each(function() {
@ -566,7 +566,7 @@ switch ($action) {
$form->addHtml( $form->addHtml(
" "
<script> <script>
$(document).on('ready', function () { $(function () {
$('#choose_recipients').click(); $('#choose_recipients').click();
}); });
</script> </script>

@ -324,7 +324,7 @@
}; };
window.AnnotationQuestion = function (userSettings) { window.AnnotationQuestion = function (userSettings) {
$(document).on('ready', function () { $(function () {
var settings = $.extend( var settings = $.extend(
{ {
questionId: 0, questionId: 0,

@ -86,7 +86,7 @@ function initGlyphSelector() {
var glyphLog = []; var glyphLog = [];
$glyphSelectorButton = document.createElement('button'); $glyphSelectorButton = document.createElement('button');
$glyphSelectorButton.className = 'btn btn-default float-right'; $glyphSelectorButton.className = 'btn btn-default pull-right';
$glyphSelectorButton.id = 'search-glyphs'; $glyphSelectorButton.id = 'search-glyphs';
$glyphSelectorButton.type = 'button'; $glyphSelectorButton.type = 'button';
$glyphSelectorButton.innerHTML = '<em class="fa fa-search"></em> Search'; $glyphSelectorButton.innerHTML = '<em class="fa fa-search"></em> Search';

@ -1,4 +1,4 @@
$(document).on('ready', function () { $(function () {
$('.check-meeting-video').on('click', function (e) { $('.check-meeting-video').on('click', function (e) {
e.preventDefault(); e.preventDefault();

@ -81,7 +81,7 @@
</div> </div>
<script> <script>
$(document).on('ready', function () { $(function () {
$('[name="filter_type"]').on('change', function () { $('[name="filter_type"]').on('change', function () {
var self = $(this); var self = $(this);

@ -56,7 +56,7 @@
</table> </table>
</div> </div>
<script> <script>
$(document).on('ready', function () { $(function () {
$("td a").click(function () { $("td a").click(function () {
var id = $(this).attr('tag'); var id = $(this).attr('tag');
var action = $(this).attr('id'); var action = $(this).attr('id');

@ -73,7 +73,7 @@
</div> </div>
<script> <script>
$(document).on('ready', function () { $(function () {
$("td a").click(function () { $("td a").click(function () {
var id = $(this).attr('tag'); var id = $(this).attr('tag');
var action = $(this).attr('id'); var action = $(this).attr('id');

@ -23,7 +23,7 @@
</div> </div>
</div> </div>
<script> <script>
$(document).on('ready', function () { $(function () {
$('form[name="frm_grading_electronic"]').on('submit', function (e) { $('form[name="frm_grading_electronic"]').on('submit', function (e) {
e.preventDefault(); e.preventDefault();

@ -57,7 +57,7 @@
}; };
})(); })();
$(document).on('ready', function() { $(function () {
var pages = {{ tour.pages }}; var pages = {{ tour.pages }};
$.each(pages, function(index, page) { $.each(pages, function(index, page) {

Loading…
Cancel
Save