diff options
author | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2010-03-21 20:42:23 +0300 |
---|---|---|
committer | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2010-03-21 20:42:23 +0300 |
commit | ed7434bbe79a87378bc27b6e015b3012990656d9 (patch) | |
tree | a2f6d48e190ad09beae142c7b456de8e41befb37 /plugins/SitesManager | |
parent | 996e2f2ad91c6176276400af5f5f3cb81b313738 (diff) |
clean-up XHTML self-closing tags in preparation for validation; note: I skipped plugins/Live as there's a large patch to merge
Diffstat (limited to 'plugins/SitesManager')
-rw-r--r-- | plugins/SitesManager/templates/SitesManager.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/SitesManager/templates/SitesManager.js b/plugins/SitesManager/templates/SitesManager.js index 7b523b98a4..58b424abff 100644 --- a/plugins/SitesManager/templates/SitesManager.js +++ b/plugins/SitesManager/templates/SitesManager.js @@ -73,10 +73,10 @@ $(document).ready( function() { $(' <tr id="'+newRowId+'">\ <td> </td>\ - <td><input id="siteadd_name" value="Name" size=25></td>\ - <td><textarea cols=30 rows=3 id="siteadd_urls">http://siteUrl.com/\nhttp://siteUrl2.com/</textarea></td>\ - <td><img src="plugins/UsersManager/images/ok.png" class="addsite" href="#"></td>\ - <td><img src="plugins/UsersManager/images/remove.png" class="cancel"></td>\ + <td><input id="siteadd_name" value="Name" size="25" /></td>\ + <td><textarea cols="30" rows="3" id="siteadd_urls">http://siteUrl.com/\nhttp://siteUrl2.com/</textarea></td>\ + <td><img src="plugins/UsersManager/images/ok.png" class="addsite" href="#" /></td>\ + <td><img src="plugins/UsersManager/images/remove.png" class="cancel" /></td>\ </tr>') .appendTo('#editSites') ; @@ -113,14 +113,14 @@ $(document).ready( function() { var idName = $(n).attr('id'); if(idName == 'siteName') { - var contentAfter = '<input id="'+idName+'" value="'+contentBefore+'" size="25">'; + var contentAfter = '<input id="'+idName+'" value="'+contentBefore+'" size="25" />'; $(n) .html(contentAfter) .keypress( submitSiteOnEnter ); } if(idName == 'urls') { - var contentAfter = '<textarea cols=30 rows=3 id="urls">'+contentBefore.replace(/<br *\/? *>/gi,"\n")+'</textarea>'; + var contentAfter = '<textarea cols="30" rows="3" id="urls">'+contentBefore.replace(/<br *\/? *>/gi,"\n")+'</textarea>'; $(n).html(contentAfter); } } @@ -128,7 +128,7 @@ $(document).ready( function() { $(this) .toggle() .parent() - .prepend( $('<img src="plugins/UsersManager/images/ok.png" class="updateSite">') + .prepend( $('<img src="plugins/UsersManager/images/ok.png" class="updateSite" />') .click( function(){ $.ajax( getUpdateSiteAJAX( $('tr#'+idRow) ) ); } ) ); } |