Changeset 8224 for luci/trunk

Show
Ignore:
Timestamp:
02/13/12 01:44:56 (15 months ago)
Author:
stargieg
Message:

libs/web: fix line wrapping error

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • luci/trunk/libs/web/luasrc/view/cbi/tblsection.htm

    r8223 r8224  
    9595                    <td class="cbi-section-table-cell" style="padding:3px; white-space:nowrap"> 
    9696                        <%- if self.extedit then -%> 
    97                             <input class="cbi-button cbi-button-add" type="button" value="<%:Edit%>" onclick="window.location=' 
     97                            <input class="cbi-button cbi-button-add" type="button" value="<%:Edit%>" 
    9898                            <%- if type(self.extedit) == "string" then -%> 
    99                                 <%=self.extedit:format(section)%> 
     99                                onclick="window.location='<%=self.extedit:format(section)%>'" 
    100100                            <%- elseif type(self.extedit) == "function" then -%> 
    101                                 <%=self:extedit(section)%> 
     101                                onclick="window.location='<%=self:extedit(section)%>'" 
    102102                            <%- end -%> 
    103                             '" alt="<%:Edit%>" title="<%:Edit%>" style="text-align: center;background-image:url(<%=resource%>/cbi/edit.gif)" /> 
     103                            alt="<%:Edit%>" title="<%:Edit%>" style="text-align: center;background-image:url(<%=resource%>/cbi/edit.gif)" /> 
    104104                        <%- end; if self.addremove then %> 
    105105                            <input class="cbi-button cbi-button-add" type="button" value="<%:Delete%>"  onclick="this.form.cbi_state='del-section'; return true" name="cbi.rts.<%=self.config%>.<%=k%>" alt="<%:Delete%>" title="<%:Delete%>" style="text-align: center;background-image:url(<%=resource%>/cbi/remove.gif)" />