Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trim the label text #29

Closed
GoogleCodeExporter opened this issue May 8, 2016 · 2 comments
Closed

Trim the label text #29

GoogleCodeExporter opened this issue May 8, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

 function fnCreateInput(regex, smart, bIsNumber) {
        var sCSSClass = "text_filter";
        if (bIsNumber)
            sCSSClass = "number_filter";
        var input = $('<input type="text" class="search_init ' + sCSSClass + '" value="' + label + '"/>');


=====>

 function fnCreateInput(regex, smart, bIsNumber) {
        var sCSSClass = "text_filter";
        if (bIsNumber)
            sCSSClass = "number_filter";
        label = label.replace(/(^\s*)|(\s*$)/g, "");
        var input = $('<input type="text" class="search_init ' + sCSSClass + '" value="' + label + '"/>');

Original issue reported on code.google.com by shoots...@gmail.com on 30 Aug 2011 at 2:51

@GoogleCodeExporter
Copy link
Author

Original comment by joc...@gmail.com on 24 Sep 2011 at 9:54

  • Changed state: Started

@GoogleCodeExporter
Copy link
Author

Hi,

This is changed in the latest version of plugin 1.2.2.

Thanks,
Jovan

Original comment by joc...@gmail.com on 24 Sep 2011 at 10:53

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant