Bug 9021 [QA Followup] - Use same color as circ rules editor for row highlighting
authorKyle M Hall <kyle@bywatersolutions.com>
Tue, 9 Feb 2016 15:23:36 +0000 (15:23 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Sun, 14 Feb 2016 12:40:06 +0000 (12:40 +0000)
Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/sms_providers.tt

index 6bae201..c33f216 100644 (file)
@@ -16,7 +16,7 @@ function edit_provider( id ) {
     $("#name").val( $("#name_" + id).text() );
     $("#domain").val( $("#domain_" + id).text() );
 
-    $("#name_" + id).parent().addClass("warn");
+    $("#name_" + id).parent().children().addClass("highlighted-row");
 
     $("#submit_save").hide();
     $("#submit_update").show();
@@ -29,7 +29,7 @@ function cancel_edit() {
     $("#name").val("");
     $("#domain").val("");
 
-    $("tr").removeClass("warn");
+    $("tr").children().removeClass("highlighted-row");
 
     $("#submit_update").hide();
     $("#submit_save").show();