Remove jQuery calls for attr (deprecated in newer versions) (#328)

This commit is contained in:
jekkos committed 2016-03-08 20:18:51 +01:00
1 parent c414922167
commit 6f6f4354fd
6 files changed
+26 -11

No files matched your search

+2 -2
View File
@@ -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; ?>
+2 -2
View File
@@ -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","");
}
+17 -2
View File
File diff suppressed because one or more lines are too long.
+1 -1
View File
File diff suppressed because one or more lines are too long.
+2 -2
View File
@@ -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","");
}
+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=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; ?>