Skip to content

Commit

Permalink
Merge pull request #776 from Mchakravartula/issue#767_samba_export_co…
Browse files Browse the repository at this point in the history
…mment_field

Populate the correct value in samba export comment field. Fixes #767
  • Loading branch information
schakrava committed Aug 5, 2015
2 parents 447f406 + 3715221 commit 4a526af
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,11 @@
<div class="form-group">
<label class="col-sm-4 control-label" for="comment">Comment</label>
<div class="col-sm-8">
<input type="text" id="comment" name="comment" value="Samba-Export" title="Comment string to associate with the new share">
<% if (sambaShareId!=null){ %>
<input type="text" id="comment" name="comment" value="<%= smbShare.get('comment') %>" title="Comment string to associate with the new share">
<% }else { %>
<input type="text" id="comment" name="comment" value="Samba-Export" title="Comment string to associate with the new share">
<% } %>
</div>
</div>

Expand Down

0 comments on commit 4a526af

Please sign in to comment.