This is an automated email from the ASF dual-hosted git repository.

gcruz pushed a commit to branch gc/8452
in repository https://gitbox.apache.org/repos/asf/allura.git

commit 263467d70d3297788bc609b22fb1161b00a4bba6
Author: Guillermo Cruz <[email protected]>
AuthorDate: Mon Aug 8 16:31:06 2022 -0600

    [#8452] updated .removeAttr -> .prop
---
 Allura/allura/templates/repo/log.html             | 2 +-
 ForgeShortUrl/forgeshorturl/templates/master.html | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Allura/allura/templates/repo/log.html 
b/Allura/allura/templates/repo/log.html
index 42c1864ea..64d7a80fd 100644
--- a/Allura/allura/templates/repo/log.html
+++ b/Allura/allura/templates/repo/log.html
@@ -60,7 +60,7 @@
         $(".revision").click(function(){
             if ( $("input:checked").length > 2){
                 $("tr.selected").toggleClass("selected", false);
-                $("input.selected").removeAttr("checked");
+                $("input.selected").prop("checked", false);
                 $("input.selected").toggleClass("selected", false);
             }
             $(this).closest("tr").toggleClass("selected");
diff --git a/ForgeShortUrl/forgeshorturl/templates/master.html 
b/ForgeShortUrl/forgeshorturl/templates/master.html
index d67e9d4ad..0e8fa4fbc 100644
--- a/ForgeShortUrl/forgeshorturl/templates/master.html
+++ b/ForgeShortUrl/forgeshorturl/templates/master.html
@@ -32,10 +32,10 @@
             modal.find('#short-url-form-title').show();
             modal.find('#short-url-form-action-label').text('Add');
             modal.find('input[name="update"]').val('False');
-            
modal.find('input[name="short_url"]').val('').removeAttr('readonly').trigger('keyup');
+            modal.find('input[name="short_url"]').val('').prop('readonly', 
false).trigger('keyup');
             modal.find('input[name="full_url"]').val('');
             modal.find('textarea[name="description"]').val('');
-            modal.find('input[name="private"]').removeAttr('checked');
+            modal.find('input[name="private"]').prop('checked', false);
         });
     });
 </script>

Reply via email to