Comparing version 3.15.0 to 3.15.1
@@ -32,3 +32,3 @@ Additional details to supplement the brief nature of the README file. | ||
* Download a .zip archive of the [latest release](http://www.fuelcdn.com/fuelux/3.14.2/fuelux.zip). | ||
* Download a .zip archive of the [latest release](http://www.fuelcdn.com/fuelux/3.15.1/fuelux.zip). | ||
@@ -43,3 +43,3 @@ ## AMD support | ||
paths: { | ||
'fuelux': 'http://www.fuelcdn.com/fuelux/3.14.2/' | ||
'fuelux': 'http://www.fuelcdn.com/fuelux/3.15.1/' | ||
//... | ||
@@ -46,0 +46,0 @@ } |
@@ -199,2 +199,9 @@ /* | ||
//this gets a little messy with all the cloning. We need to make sure the ID and FOR | ||
//attribs are unique for the 'top most' cloned checkbox | ||
var $checkbox = $frozenTheadWrapper.find('th input[type="checkbox"]'); | ||
$checkbox.attr('id', $checkbox.attr('id')+'_cloned'); | ||
var $label = $frozenTheadWrapper.find('th label'); | ||
$label.attr('for', $label.attr('for')+'_cloned'); | ||
$frozenColumnWrapper.append($frozenColumn); | ||
@@ -418,3 +425,6 @@ repeaterWrapper.append($frozenTheadWrapper); | ||
this.$element.find('.table-frozen tbody .checkbox-inline').on('change', function(e) { | ||
// Row checkboxes | ||
var $rowCheckboxes = this.$element.find('.table-frozen tbody .checkbox-inline'); | ||
var $checkAll = this.$element.find('.frozen-thead-wrapper thead .checkbox-inline input'); | ||
$rowCheckboxes.on('change', function(e) { | ||
e.preventDefault(); | ||
@@ -429,2 +439,16 @@ | ||
self.$element.find('.repeater-list-wrapper > table tbody tr:nth-child('+ row +')').click(); | ||
var numSelected = self.$element.find('.table-frozen tbody .checkbox-inline.checked').length; | ||
if(numSelected === 0){ | ||
$checkAll.prop('checked', false); | ||
$checkAll.prop('indeterminate', false); | ||
} | ||
else if (numSelected === $rowCheckboxes.length){ | ||
$checkAll.prop('checked', true); | ||
$checkAll.prop('indeterminate', false); | ||
} | ||
else { | ||
$checkAll.prop('checked', false); | ||
$checkAll.prop('indeterminate', true); | ||
} | ||
} | ||
@@ -434,3 +458,4 @@ } | ||
this.$element.find('.frozen-thead-wrapper thead .checkbox-inline').on('change', function (e) { | ||
// "Check All" checkbox | ||
$checkAll.on('change', function (e) { | ||
if (!self.list_revertingCheckbox) { | ||
@@ -440,3 +465,3 @@ if (self.isDisabled) { | ||
} else { | ||
if ($(this).checkbox('isChecked')){ | ||
if ($(this).is(':checked')){ | ||
self.$element.find('.repeater-list-wrapper > table tbody tr:not(.selected)').click(); | ||
@@ -662,4 +687,5 @@ self.$element.trigger('selected.fu.repeaterList', $checkboxes); | ||
var $div = $('<div class="repeater-list-heading"><span class="glyphicon rlc"></span></div>'); | ||
var checkBoxMarkup = '<div class="repeater-list-heading header-checkbox"><label class="checkbox-custom checkbox-inline repeater-select-checkbox">' + | ||
'<input class="sr-only" type="checkbox"></label><div class="clearfix"></div></div>'; | ||
var checkAllID = (this.$element.attr('id')+'_' || '') + 'checkall'; | ||
var checkBoxMarkup = '<div class="repeater-list-heading header-checkbox"><div class="checkbox checkbox-inline"><input type="checkbox" id="' + checkAllID + '">'+ | ||
'<label for="' + checkAllID + '"></label></div></div>'; | ||
var $header = $('<th></th>'); | ||
@@ -775,3 +801,3 @@ var self = this; | ||
if (isMulti){ | ||
$checkBox.checkbox('uncheck'); | ||
$checkBox.click(); | ||
$frozenRow.removeClass('selected'); | ||
@@ -799,3 +825,3 @@ if (isActions) { | ||
else { | ||
$checkBox.checkbox('check'); | ||
$checkBox.click(); | ||
$item.addClass('selected'); | ||
@@ -802,0 +828,0 @@ $frozenRow.addClass('selected'); |
@@ -9,3 +9,3 @@ // package metadata file for Meteor.js | ||
summary: 'Base Fuel UX styles and controls', | ||
version: '3.14.1', | ||
version: '3.15.1', | ||
git: 'https://github.com/ExactTarget/fuelux.git' | ||
@@ -12,0 +12,0 @@ }); |
@@ -86,3 +86,3 @@ { | ||
"title": "Fuel UX", | ||
"version": "3.15.0", | ||
"version": "3.15.1", | ||
"volo": { | ||
@@ -89,0 +89,0 @@ "baseDir": "lib", |
@@ -37,7 +37,7 @@ #[Fuel UX](http://getfuelux.com/) | ||
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet"> | ||
<link href="//www.fuelcdn.com/fuelux/3.14.2/css/fuelux.min.css" rel="stylesheet"> | ||
<link href="//www.fuelcdn.com/fuelux/3.15.1/css/fuelux.min.css" rel="stylesheet"> | ||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.js"></script> | ||
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.1/js/bootstrap.min.js"></script> | ||
<script src="//www.fuelcdn.com/fuelux/3.14.2/js/fuelux.min.js"></script> | ||
<script src="//www.fuelcdn.com/fuelux/3.15.1/js/fuelux.min.js"></script> | ||
@@ -49,3 +49,3 @@ ``` | ||
- Request files from [the Fuel UX CDN](http://www.fuelcdn.com/fuelux/3.14.2/) | ||
- Request files from [the Fuel UX CDN](http://www.fuelcdn.com/fuelux/3.15.1/) | ||
- Install with [NPM](https://www.npmjs.com/package/fuelux): `npm install fuelux`. | ||
@@ -52,0 +52,0 @@ - [Download the latest release](https://github.com/exacttarget/fuelux/archive/3.4.0.zip). |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25827
2126095
278