mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-20 07:14:33 -04:00
Add workaround for jQuery load deprecation (#328)
This commit is contained in:
1 parent
f6be7cdf23
commit
e8e89f1c7e
6 files changed
+43
-22
No files matched your search
@@ -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; ?>
|
||||
|
||||
|
||||
Vendored
+8
-9
File diff suppressed because one or more lines are too long.
Vendored
+17
-2
File diff suppressed because one or more lines are too long.
Vendored
+6
-5
File diff suppressed because one or more lines are too long.
+8
-2
@@ -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();
|
||||
|
||||
@@ -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; ?>
|
||||
|
||||
|
||||
Reference in new issue
Block a user