From 1f9531bea203e7c4706ec5607fcb3c3111436373 Mon Sep 17 00:00:00 2001 From: Adam Young Date: Mon, 8 Nov 2010 20:39:40 -0500 Subject: delete to remove THe keyword delete is reserved in Javascript Using it breaks the WebUI on Chrome. This fixes replaces the word with delete. --- install/static/policy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'install/static/policy.js') diff --git a/install/static/policy.js b/install/static/policy.js index 24333a5d..c5ca523a 100644 --- a/install/static/policy.js +++ b/install/static/policy.js @@ -179,7 +179,7 @@ function ipa_records_facet(spec){ var delete_dialog = $('
', { - title: IPA.messages.button.delete + title: IPA.messages.button.remove }); var to_delete_table = $(''+ @@ -302,7 +302,7 @@ function ipa_records_facet(spec){ }).appendTo(control_span); ipa_button({ - 'label': IPA.messages.button.delete, + 'label': IPA.messages.button.remove, 'icon': 'ui-icon-trash', 'click': function(){delete_records(records_table);} }).appendTo(control_span); -- cgit