Skip to content

Commit

Permalink
updated build to 1.5.1
Browse files Browse the repository at this point in the history
code comment
  • Loading branch information
Hendy committed May 15, 2015
1 parent bc8f6bf commit bd9172e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# version format
version: 1.5.0.{build}
version: 1.5.1.{build}

# Do not build on tags
skip_tags: true
Expand Down
1 change: 1 addition & 0 deletions source/nuPickers/Shared/XmlDataSource/XmlDataSource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public IEnumerable<EditorDataItem> GetEditorDataItems(int currentId, int parentI

if (xmlDocument != null)
{
// really the logic is self-or-parent-or-root
int ancestorOrSelfId = currentId > 0 ? currentId : parentId > 0 ? parentId : -1;

string xPath = this.XPath.Replace("$ancestorOrSelf", string.Concat("/descendant::*[@id='", ancestorOrSelfId, "']"));
Expand Down

0 comments on commit bd9172e

Please sign in to comment.