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

select type gives "success is not defined" #897

Closed
philwu opened this issue May 2, 2016 · 4 comments
Closed

select type gives "success is not defined" #897

philwu opened this issue May 2, 2016 · 4 comments

Comments

@philwu
Copy link

philwu commented May 2, 2016

When saving data with type='select', it gives an error that "success is not defined"
Same problem mentioned in issue#884 but it was closed with no explanation.

here is a live of my code: http://52.64.25.92/login/test.html

here is my code:
$("#myEditor").editable({ name:'name', type:'select', pk:2, title:'Select one', url:'returnOk.php', //this file always return httpcode 200 source:[{"value":"1","text":"VALUE 1"},{"value":"2","text":"VALUE 2"}], value:1, success:function(data,config){ alert("ok"); //this line works } });

@wenzhixin
Copy link
Contributor

@lorvent
Copy link
Contributor

lorvent commented May 7, 2016

hmm, @wenzhixin
can you send a fix PR?

@wenzhixin
Copy link
Contributor

#898

@lorvent lorvent closed this as completed in fe5b56a May 8, 2016
lorvent added a commit that referenced this issue May 8, 2016
fix #897: success is not defined bug
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

3 participants