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

crontab.js浏览器执行报错 #47

Closed
wujita opened this issue Sep 25, 2017 · 0 comments
Closed

crontab.js浏览器执行报错 #47

wujita opened this issue Sep 25, 2017 · 0 comments

Comments

@wujita
Copy link

wujita commented Sep 25, 2017

在Safari下使用,添加和编辑任务时,crontab.js 182行由于未关闭中括号,$("input[name='v_second']") 未能正确找到,出现 undefined,保存任务后,无法正常执行。

...
cron_parse:function (strVal,strid)
    {
        var ary = null;
        var end;
        var objRadio = $("input[name='" + strid + "'");  // --> 此处缺一个 ] 来关闭
        if (strVal == '*'){
            objRadio.eq(0).prop("checked", true);
...
osgochina added a commit that referenced this issue Sep 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants