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

CDEF Item Value dialog doesn't update creating items #1316

Closed
k4y53r opened this issue Feb 7, 2018 · 3 comments
Closed

CDEF Item Value dialog doesn't update creating items #1316

k4y53r opened this issue Feb 7, 2018 · 3 comments

Comments

@k4y53r
Copy link

k4y53r commented Feb 7, 2018

Hi,

When you try to create items on CDEF function, the field for CDEF Item Value doesn't refresh after select CDEF Item Type, always shows options for "function"

Fails on Firefox, IE and Chrome

It shows error below on Firefox debug console:
SyntaxError: expected expression, got ';'

DOMEval
http://CACTI_IP/cacti/include/js/jquery.js:82:3
domManip
http://CACTI_IP/cacti/include/js/jquery.js:5788:8
append
http://CACTI_IP/cacti/include/js/jquery.js:5924:10
html/<
http://CACTI_IP/cacti/include/js/jquery.js:6018:5
access
http://CACTI_IP/cacti/include/js/jquery.js:3981:5
html
http://CACTI_IP/cacti/include/js/jquery.js:5985:10
loadPage/<
http://CACTI_IP/cacti/include/layout.js:1212:5
fire
http://CACTI_IP/cacti/include/js/jquery.js:3317:11
fireWith
http://CACTI_IP/cacti/include/js/jquery.js:3447:7
done
http://CACTI_IP/cacti/include/js/jquery.js:9272:5
callback/<
http://CACTI_IP/cacti/include/js/jquery.js:9514:9

I coud edit existing cdef items, only fail to create new items

Tested on Cacti v 1.1.33 and 1.1.31

cigamit added a commit that referenced this issue Feb 8, 2018
CDEF Item Value dialog doesn't update creating items
@cigamit
Copy link
Member

cigamit commented Feb 8, 2018

Should be resolved in latest develop. Update cdef.php. If resolved, please close.

@k4y53r
Copy link
Author

k4y53r commented Feb 8, 2018

Ok, i'll check it, thanks

@k4y53r
Copy link
Author

k4y53r commented Feb 8, 2018

Checked with 1.1.34 and works fine

Thanks again :)

@k4y53r k4y53r closed this as completed Feb 8, 2018
cigamit added a commit that referenced this issue Feb 9, 2018
CDEF Item Value dialog doesn't update creating items
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants