mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-20 07:14:33 -04:00
Remove jQuery calls for attr (deprecated in newer versions) (#328)
This commit is contained in:
1 parent
c414922167
commit
6f6f4354fd
6 files changed
+26
-11
No files matched your search
@@ -65,11 +65,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=a5e6ea4b25"/>
|
||||
<link rel="stylesheet" type="text/css" href="dist/opensourcepos.min.css?rel=fab2796a66"/>
|
||||
<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=ab845a1430" language="javascript"></script>
|
||||
<script type="text/javascript" src="dist/opensourcepos.min.js?rel=34d58e50b2" language="javascript"></script>
|
||||
<!-- end minjs template tags -->
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
Vendored
+2
-2
@@ -51375,10 +51375,10 @@ function enable_row_selection(rows)
|
||||
rows.click(function row_click(event)
|
||||
{
|
||||
var checkbox = $(this).find(":checkbox");
|
||||
checkbox.attr('checked',!checkbox.attr('checked'));
|
||||
checkbox.prop('checked',!checkbox.is(':checked'));
|
||||
do_email(enable_email.url);
|
||||
|
||||
if(checkbox.attr('checked'))
|
||||
if(checkbox.is(':checked'))
|
||||
{
|
||||
$(this).find("td").addClass('selected').css("backgroundColor","");
|
||||
}
|
||||
|
||||
Vendored
+17
-2
File diff suppressed because one or more lines are too long.
Vendored
+1
-1
File diff suppressed because one or more lines are too long.
+2
-2
@@ -293,10 +293,10 @@ function enable_row_selection(rows)
|
||||
rows.click(function row_click(event)
|
||||
{
|
||||
var checkbox = $(this).find(":checkbox");
|
||||
checkbox.attr('checked',!checkbox.attr('checked'));
|
||||
checkbox.prop('checked',!checkbox.is(':checked'));
|
||||
do_email(enable_email.url);
|
||||
|
||||
if(checkbox.attr('checked'))
|
||||
if(checkbox.is(':checked'))
|
||||
{
|
||||
$(this).find("td").addClass('selected').css("backgroundColor","");
|
||||
}
|
||||
|
||||
@@ -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=a5e6ea4b25"/>
|
||||
<link rel="stylesheet" type="text/css" href="dist/opensourcepos.min.css?rel=fab2796a66"/>
|
||||
<!-- 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=ab845a1430" language="javascript"></script>
|
||||
<script type="text/javascript" src="dist/opensourcepos.min.js?rel=34d58e50b2" language="javascript"></script>
|
||||
<!-- end minjs template tags -->
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
Reference in new issue
Block a user