Skip to content

[Bug] : Selection of scroll vs paginate should have active class on load #30

Description

@caneruguz

When loaded the active class is not in proper location, it's because this is not coded in to treebeard.

Need to make changes herE:

if (ctrl.options.paginateToggle) {
                                                return m('.btn-group.padder-10', [
                                                    m("button.btn.btn-default.btn-sm.active.tb-scroll",
                                                        { onclick : ctrl.toggleScroll },
                                                        "Scroll"),
                                                    m("button.btn.btn-default.btn-sm.tb-paginate",
                                                        { onclick : ctrl.togglePaginate },
                                                        "Paginate")
                                                ]);
                                            }

screen shot 2014-10-29 at 1 41 05 pm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions