* Circles.aspx: fixes circle updates
* yavsc.circles.js: * refactoring * fixes circle update
This commit is contained in:
parent
edf89cf739
commit
e9eddf56a7
3 changed files with 51 additions and 36 deletions
|
|
@ -12,16 +12,17 @@
|
|||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<style>
|
||||
.btnselcircle { cursor: pointer; }
|
||||
</style>
|
||||
<tbody id="tbcb">
|
||||
<% int lc=0;
|
||||
foreach (var ci in (IEnumerable<CircleBase>) ViewData["Circles"]) { lc++; %>
|
||||
<tr class="<%= (lc%2==0)?"even ":"odd " %>row" id="c_<%=ci.Id%>">
|
||||
<td cid="<%=ci.Id%>" style="cursor: pointer;" class="btnselcircle" >
|
||||
<%=ci.Title%></td>
|
||||
<td>
|
||||
<input type="button" value="<%=Html.Translate("Remove")%>"
|
||||
<td cid="<%=ci.Id%>" class="btnselcircle"><%=ci.Title%></td>
|
||||
<td><input type="button" value="<%=Html.Translate("Remove")%>"
|
||||
class="btnremovecircle actionlink" cid="<%=ci.Id%>"/>
|
||||
</td>
|
||||
</td>
|
||||
</tr>
|
||||
<% } %>
|
||||
</tbody>
|
||||
|
|
@ -48,9 +49,6 @@ $("#tbc").stupidtable();
|
|||
<input type="text" id="title" name="title" class="inputtext" onchange="onCircleChanged"/>
|
||||
<span id="Err_cr_title" class="field-validation-valid error"></span>
|
||||
|
||||
<label for="isprivate"><b><%=Html.Translate("Private circle")%></b></label>
|
||||
<input type="checkbox" name="isprivate" id="isprivate" onchange="onCircleChanged" />
|
||||
|
||||
<input type="button" id="btnnewcircle"
|
||||
value="<%=Html.Translate("Create")%>" class="actionlink rowbtnct" />
|
||||
<input type="button" id="btneditcircle"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue