Add workaround for jQuery load deprecation (#328)

This commit is contained in:
jekkos committed 2016-03-14 08:49:52 +01:00
1 parent f6be7cdf23
commit e8e89f1c7e
6 files changed
+43 -22

No files matched your search

+2 -2
View File
@@ -64,11 +64,11 @@
<!-- start mincss template tags -->
<link rel="stylesheet" type="text/css" href="dist/bootstrap.min.css?rel=9ed20b1ee8"/>
<link rel="stylesheet" type="text/css" href="dist/jquery-ui.css"/>
<link rel="stylesheet" type="text/css" href="dist/opensourcepos.min.css?rel=60674239d1"/>
<link rel="stylesheet" type="text/css" href="dist/opensourcepos.min.css?rel=1e85aab5ad"/>
<link rel="stylesheet" type="text/css" href="dist/opensourcepos_bower.css"/>
<!-- end mincss template tags -->
<!-- start minjs template tags -->
<script type="text/javascript" src="dist/opensourcepos.min.js?rel=10400d243b" language="javascript"></script>
<script type="text/javascript" src="dist/opensourcepos.min.js?rel=bea183fdb7" language="javascript"></script>
<!-- end minjs template tags -->
<?php endif; ?>
+8 -9
View File
File diff suppressed because one or more lines are too long.
+17 -2
View File
File diff suppressed because one or more lines are too long.
+6 -5
View File
File diff suppressed because one or more lines are too long.
+8 -2
View File
@@ -469,8 +469,14 @@ dialog_support = (function() {
BootstrapDialog.show({
cssClass: dialog_class,
title: $link.attr('title'),
message: $('<div></div>').load($link.attr('href')),
buttons: buttons
message: (function() {
var node = $('<div></div>');
$.get($link.attr('href'), function(data) {
node.html(data);
});
return node;
}),
button: buttons
});
event.preventDefault();
+2 -2
View File
@@ -65,11 +65,11 @@
<![endif]-->
<link rel="stylesheet" type="text/css" href="templates/spacelab/css/bootstrap.min.css?rel=9ed20b1ee8"/>
<!-- start mincss template tags -->
<link rel="stylesheet" type="text/css" href="dist/opensourcepos.min.css?rel=60674239d1"/>
<link rel="stylesheet" type="text/css" href="dist/opensourcepos.min.css?rel=1e85aab5ad"/>
<!-- end mincss template tags -->
<link rel="stylesheet" type="text/css" href="templates/spacelab/css/style.css"/>
<!-- start minjs template tags -->
<script type="text/javascript" src="dist/opensourcepos.min.js?rel=10400d243b" language="javascript"></script>
<script type="text/javascript" src="dist/opensourcepos.min.js?rel=bea183fdb7" language="javascript"></script>
<!-- end minjs template tags -->
<?php endif; ?>