Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Fixes disabling of selectable / multi select / actions #1538

Conversation

BenjaminNeilDavis
Copy link
Contributor

Fixes #1534

@@ -594,6 +594,7 @@
if (sortable) {
$both.addClass('sortable');
$div.on('click.fu.repeaterList', function () {
if(self.isDisabled) return;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is technically correct, but as per our style guide we are supposed to write it as follows:
if (self.isDisabled) { return; }

@kevinparkerson
Copy link
Contributor

Looks good outside minor style guide compliance changes! 👍

@futuremint
Copy link
Contributor

@BenjaminNeilDavis looks like there is an issue with the unit tests: https://travis-ci.org/ExactTarget/fuelux/builds/81997536#L519 Can you please fix?

@cmcculloh-kr
Copy link

https://github.com/cormacmccarthy/fuelux/tree/BenjaminNeilDavis-issue-1534-diable-repeater

I've updated the syntax of your async tests @BenjaminNeilDavis. However, there is still some sort of race condition keeping your tests from completing consistently and therefore when run in the context of all tests it fails (however, when run alone, it succeeds).

You can check the tests locally by running grunt servefast and then go http://localhost:8000/test/

@cmcculloh-kr cmcculloh-kr added this to the 3.11.5 milestone Oct 1, 2015
@kevinparkerson kevinparkerson modified the milestones: 3.11.5, 3.11.6 Oct 27, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants