updated plugin Subscribe2
version 10.36
This commit is contained in:
@ -29,7 +29,8 @@ s2jQuery( document ).ready(
|
||||
zIndex: 10000,
|
||||
minWidth: 350,
|
||||
minHeight: 300,
|
||||
title: s2AjaxScriptStrings.title
|
||||
title: s2AjaxScriptStrings.title,
|
||||
closeText: ""
|
||||
}
|
||||
);
|
||||
dialog.dialog( 'open' );
|
||||
|
@ -27,9 +27,7 @@ jQuery( document ).ready(
|
||||
var checkedStatus = true;
|
||||
jQuery( 'input[class="' + this.className + '"]' ).each(
|
||||
function() {
|
||||
if ( ( true === this.checked ) && ( true === checkedStatus ) ) {
|
||||
checkedStatus = true;
|
||||
} else {
|
||||
if ( ( ! this.checked ) ) {
|
||||
checkedStatus = false;
|
||||
}
|
||||
jQuery( 'input[value="' + this.className + '"]' )
|
||||
@ -40,16 +38,14 @@ jQuery( document ).ready(
|
||||
);
|
||||
|
||||
// function to check or uncheck 'checkall' box when page is loaded
|
||||
jQuery( 'input[class^="checkall"]' ).each(
|
||||
function() {
|
||||
jQuery( 'input[name^="checkall"]' ).each(function(value, item) {
|
||||
var checkedStatus = true;
|
||||
if ( ( true === this.checked ) && ( true === checkedStatus ) ) {
|
||||
checkedStatus = true;
|
||||
} else {
|
||||
checkedStatus = false;
|
||||
}
|
||||
jQuery( 'input[value="' + this.className + '"]' )
|
||||
.prop( 'checked', checkedStatus );
|
||||
jQuery('input[class='+item.value).each(function () {
|
||||
if ( ( ! this.checked ) ) {
|
||||
checkedStatus = false;
|
||||
}
|
||||
});
|
||||
jQuery(this).prop( 'checked', checkedStatus );
|
||||
}
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user