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

more id's for UIFR-118 #3

Merged
merged 3 commits into from Jul 29, 2013
Merged

more id's for UIFR-118 #3

merged 3 commits into from Jul 29, 2013

Conversation

LeeBreisacher
Copy link
Contributor

I found a couple more places that need the id attribute passed along.

@@ -279,7 +279,8 @@ function SectionModel(elem, formMenuElem) {
SelectableModel.apply(this, [elem]);

var title = this.element.find("span.title").first();
var newTitle = $("<li><span>" + title.text() + "</span></li>");
var spanId = title.attr('id') ? ' id="' + title.attr('id') + '"' : ' ';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you escape this? Or maybe do something like jQuery("").attr("id", ...)... just to be a bit safer?

djazayeri added a commit that referenced this pull request Jul 29, 2013
@djazayeri djazayeri merged commit 2a735d1 into openmrs:master Jul 29, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants