mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-03 05:12:50 -04:00
Add modal init in postBody bstables callback (#563)
This commit is contained in:
@@ -61,10 +61,10 @@
|
||||
<!-- 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=54122a95de"/>
|
||||
<link rel="stylesheet" type="text/css" href="dist/opensourcepos.min.css?rel=709203adf0"/>
|
||||
<!-- end mincss template tags -->
|
||||
<!-- start minjs template tags -->
|
||||
<script type="text/javascript" src="dist/opensourcepos.min.js?rel=a380df4051" language="javascript"></script>
|
||||
<script type="text/javascript" src="dist/opensourcepos.min.js?rel=086db78c1a" language="javascript"></script>
|
||||
<!-- end minjs template tags -->
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
#receipt_wrapper
|
||||
#receipt_wrapper, #table
|
||||
{
|
||||
/*background-color:#FFFFFF;*/
|
||||
font-size:75%;
|
||||
|
||||
4
dist/opensourcepos.js
vendored
4
dist/opensourcepos.js
vendored
@@ -44714,7 +44714,6 @@ THE SOFTWARE.*/
|
||||
return function(response) {
|
||||
typeof options.load_callback == 'function' && options.load_callback();
|
||||
options.load_callback = undefined;
|
||||
dialog_support.init("a.modal-dlg, button.modal-dlg");
|
||||
typeof callback == 'function' && callback.call(this, response);
|
||||
}
|
||||
};
|
||||
@@ -44752,6 +44751,9 @@ THE SOFTWARE.*/
|
||||
onCheckAll: enable_actions,
|
||||
onUncheckAll: enable_actions,
|
||||
onLoadSuccess: load_success(options.onLoadSuccess),
|
||||
onPostBody: function() {
|
||||
dialog_support.init("a.modal-dlg, button.modal-dlg");
|
||||
},
|
||||
onColumnSwitch : function(field, checked) {
|
||||
var user_settings = localStorage[options.employee_id];
|
||||
user_settings = (user_settings && JSON.parse(user_settings)) || {};
|
||||
|
||||
2
dist/opensourcepos.min.css
vendored
2
dist/opensourcepos.min.css
vendored
File diff suppressed because one or more lines are too long
4
dist/opensourcepos.min.js
vendored
4
dist/opensourcepos.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -181,7 +181,6 @@
|
||||
return function(response) {
|
||||
typeof options.load_callback == 'function' && options.load_callback();
|
||||
options.load_callback = undefined;
|
||||
dialog_support.init("a.modal-dlg, button.modal-dlg");
|
||||
typeof callback == 'function' && callback.call(this, response);
|
||||
}
|
||||
};
|
||||
@@ -219,6 +218,9 @@
|
||||
onCheckAll: enable_actions,
|
||||
onUncheckAll: enable_actions,
|
||||
onLoadSuccess: load_success(options.onLoadSuccess),
|
||||
onPostBody: function() {
|
||||
dialog_support.init("a.modal-dlg, button.modal-dlg");
|
||||
},
|
||||
onColumnSwitch : function(field, checked) {
|
||||
var user_settings = localStorage[options.employee_id];
|
||||
user_settings = (user_settings && JSON.parse(user_settings)) || {};
|
||||
|
||||
@@ -61,11 +61,11 @@
|
||||
<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/jquery-ui.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="dist/opensourcepos.min.css?rel=54122a95de"/>
|
||||
<link rel="stylesheet" type="text/css" href="dist/opensourcepos.min.css?rel=709203adf0"/>
|
||||
<!-- 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=a380df4051" language="javascript"></script>
|
||||
<script type="text/javascript" src="dist/opensourcepos.min.js?rel=086db78c1a" language="javascript"></script>
|
||||
<!-- end minjs template tags -->
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user