Loading public/js/intranavigator.js +2 −0 Original line number Diff line number Diff line Loading @@ -35,6 +35,8 @@ IntraNavigator = { if (typeof element === 'string') { element = $('<div>' + element + '</div>'); } else { element = $('<div></div>'); } var extractedTitle = element.find('.title,.modal-title,.popover-title,.page-header'); Loading public/js/pop-ajax.js +5 −18 Original line number Diff line number Diff line Loading @@ -113,9 +113,12 @@ $.widget("unicaen.popAjax", { this.ajaxLoaded = true; this.setTitle(this.options.loadingTitle); this.setContent(this.options.loadingContent, true); axios.get(this.options.url).then(response => { $.ajax({ url: this.options.url, success: (response) => { that.setContent(response); console.log(response); //that.contentSubmit(that.getPopoverElement().find('.popover-body')); } }); }, Loading Loading @@ -295,22 +298,6 @@ $(function () { }); function popAjax(element, onSubmit) { $(element).popAjax(); var widget = $(element).data('unicaenPopAjax'); if (onSubmit) { widget.options.submitEvent = onSubmit; } widget.show(); return widget; } function popConfirm(element, options) { var popConfirm = bootstrap.Popover.getInstance(element); Loading Loading
public/js/intranavigator.js +2 −0 Original line number Diff line number Diff line Loading @@ -35,6 +35,8 @@ IntraNavigator = { if (typeof element === 'string') { element = $('<div>' + element + '</div>'); } else { element = $('<div></div>'); } var extractedTitle = element.find('.title,.modal-title,.popover-title,.page-header'); Loading
public/js/pop-ajax.js +5 −18 Original line number Diff line number Diff line Loading @@ -113,9 +113,12 @@ $.widget("unicaen.popAjax", { this.ajaxLoaded = true; this.setTitle(this.options.loadingTitle); this.setContent(this.options.loadingContent, true); axios.get(this.options.url).then(response => { $.ajax({ url: this.options.url, success: (response) => { that.setContent(response); console.log(response); //that.contentSubmit(that.getPopoverElement().find('.popover-body')); } }); }, Loading Loading @@ -295,22 +298,6 @@ $(function () { }); function popAjax(element, onSubmit) { $(element).popAjax(); var widget = $(element).data('unicaenPopAjax'); if (onSubmit) { widget.options.submitEvent = onSubmit; } widget.show(); return widget; } function popConfirm(element, options) { var popConfirm = bootstrap.Popover.getInstance(element); Loading