backend/satellite_tools
by Michael Mraka
backend/satellite_tools/disk_dumper/dumper.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit 5bab33477f780b55dc2ac0ec1b122ad78ee62861
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Thu Jun 17 16:59:06 2010 +0200
fixed wording for incompatible checksum error
diff --git a/backend/satellite_tools/disk_dumper/dumper.py b/backend/satellite_tools/disk_dumper/dumper.py
index 91a7e98..d79693d 100644
--- a/backend/satellite_tools/disk_dumper/dumper.py
+++ b/backend/satellite_tools/disk_dumper/dumper.py
@@ -483,7 +483,10 @@ class XML_Dumper:
label)
if not (iss_slave_sha256_capable
or all_channels_hash[label]['checksum_type'] in [None, 'sha1']):
- raise rhnFault(3001, "Channel %s has incompatible checksum (%)" %
+ raise rhnFault(3001,
+ "Channel %s has incompatible rpm checksum (%s). Please contact\n"
+ + "Red Hat support for information about upgrade to newer version\n"
+ + "of Satellite Server which supports it." %
(label, all_channels_hash[label]['checksum_type']))
channels[label] = all_channels_hash[label]
13 years, 11 months
spacewalk/setup
by Jan Pazdziora
spacewalk/setup/bin/spacewalk-setup | 1 -
1 file changed, 1 deletion(-)
New commits:
commit b8d4a0529b816b95e83964003cb9b148600f8505
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Thu Jun 17 14:53:04 2010 +0200
Getopt::Long not used in spacewalk-setup, removing.
We parse the options in Spacewalk::Setup now.
diff --git a/spacewalk/setup/bin/spacewalk-setup b/spacewalk/setup/bin/spacewalk-setup
index de75201..7cd94d7 100755
--- a/spacewalk/setup/bin/spacewalk-setup
+++ b/spacewalk/setup/bin/spacewalk-setup
@@ -34,7 +34,6 @@ use DBI;
use Digest::MD5 qw/md5_hex/;
use DateTime;
use Sys::Hostname;
-use Getopt::Long;
use Spacewalk::Setup;
use Fcntl qw(F_GETFD F_SETFD FD_CLOEXEC);
13 years, 11 months
spacewalk/setup
by Jan Pazdziora
spacewalk/setup/bin/spacewalk-setup | 1 -
1 file changed, 1 deletion(-)
New commits:
commit 16fe1a3fc81c43b4b86879653d8a1b7c672931af
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Thu Jun 17 14:29:01 2010 +0200
ReadLine nor ReadMode not used in spacewalk-setup, removing.
diff --git a/spacewalk/setup/bin/spacewalk-setup b/spacewalk/setup/bin/spacewalk-setup
index 868c42f..de75201 100755
--- a/spacewalk/setup/bin/spacewalk-setup
+++ b/spacewalk/setup/bin/spacewalk-setup
@@ -28,7 +28,6 @@ foreach my $t (@ARGV) {
use Params::Validate;
Params::Validate::validation_options(strip_leading => "-");
-use Term::ReadKey qw/ReadLine ReadMode/;
use Mail::RFC822::Address;
use File::Spec;
use DBI;
13 years, 11 months
Changes to 'refs/tags/spacewalk-setup-1.1.2-1'
by Miroslav Suchý
Tag 'spacewalk-setup-1.1.2-1' created by Miroslav Suchý <msuchy(a)redhat.com> at 2010-06-17 08:41 +0000
Tagging package [spacewalk-setup] version [1.1.2-1] in directory [spacewalk/setup/].
Changes since spacewalk-java-1.1.12-1:
Miroslav Suchý (1):
Automatic commit of package [spacewalk-setup] release [1.1.2-1].
---
rel-eng/packages/spacewalk-setup | 2 +-
spacewalk/setup/spacewalk-setup.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
---
13 years, 11 months
rel-eng/packages spacewalk/setup
by Miroslav Suchý
rel-eng/packages/spacewalk-setup | 2 +-
spacewalk/setup/spacewalk-setup.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
New commits:
commit 560bf5df6ee6d2daa1f98cf972c6e76e2c3d77ad
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Thu Jun 17 10:41:08 2010 +0200
Automatic commit of package [spacewalk-setup] release [1.1.2-1].
diff --git a/rel-eng/packages/spacewalk-setup b/rel-eng/packages/spacewalk-setup
index 4ec6856..25c8244 100644
--- a/rel-eng/packages/spacewalk-setup
+++ b/rel-eng/packages/spacewalk-setup
@@ -1 +1 @@
-1.1.1-1 spacewalk/setup/
+1.1.2-1 spacewalk/setup/
diff --git a/spacewalk/setup/spacewalk-setup.spec b/spacewalk/setup/spacewalk-setup.spec
index 7ed0915..69947d9 100644
--- a/spacewalk/setup/spacewalk-setup.spec
+++ b/spacewalk/setup/spacewalk-setup.spec
@@ -1,5 +1,5 @@
Name: spacewalk-setup
-Version: 1.1.1
+Version: 1.1.2
Release: 1%{?dist}
Summary: Initial setup tools for Red Hat Spacewalk
@@ -99,6 +99,9 @@ rm -rf %{buildroot}
%attr(755, apache, root) %{_var}/spacewalk
%changelog
+* Thu Jun 17 2010 Miroslav Suchý <msuchy(a)redhat.com> 1.1.2-1
+- fun aside, swimmer meet shark (msuchy(a)redhat.com)
+
* Mon Apr 19 2010 Michael Mraka <michael.mraka(a)redhat.com> 1.1.1-1
- bumping spec files to 1.1 packages
- Move systemlogs directory out of /var/satellite
13 years, 11 months
Changes to 'refs/tags/spacewalk-java-1.1.12-1'
by Miroslav Suchý
Tag 'spacewalk-java-1.1.12-1' created by Miroslav Suchý <msuchy(a)redhat.com> at 2010-06-17 08:39 +0000
Tagging package [spacewalk-java] version [1.1.12-1] in directory [java/].
Changes since rhn-client-tools-1.1.7-1:
Miroslav Suchý (1):
Automatic commit of package [spacewalk-java] release [1.1.12-1].
---
java/spacewalk-java.spec | 77 +++++++++++++++++++++++++++++++++++++++-
rel-eng/packages/spacewalk-java | 2 -
2 files changed, 77 insertions(+), 2 deletions(-)
---
13 years, 11 months
Changes to 'refs/tags/rhn-client-tools-1.1.7-1'
by Miroslav Suchý
Tag 'rhn-client-tools-1.1.7-1' created by Miroslav Suchý <msuchy(a)redhat.com> at 2010-06-17 08:37 +0000
Tagging package [rhn-client-tools] version [1.1.7-1] in directory [client/rhel/rhn-client-tools/].
Changes since yum-rhn-plugin-1.1.3-1:
Justin Sherrill (1):
576314 - fix for errata being added to the email queue multiple times before it can be run
Miroslav Suchý (1):
Automatic commit of package [rhn-client-tools] release [1.1.7-1].
Partha Aji (2):
Added a sort of 'confirm' logic for delete systems in dup compares page
Made the duplicate compares page do confirm delete differently
Tomas Lestach (2):
603890 - fix/rewrite system.listSubscribableBaseChannels API
602591 - "Content-Length" added to response header for different download contents
leahliu (1):
l10n: Updates to Chinese (China) (zh_CN) translation
ypoyarko (1):
l10n: Updates to Russian (ru) translation
---
backend/po/ru.po | 87
client/rhel/rhn-client-tools/po/zh_CN.po | 1438 ----------
client/rhel/rhn-client-tools/rhn-client-tools.spec | 93
java/code/src/com/redhat/rhn/common/db/datasource/xml/Task_queries.xml | 4
java/code/src/com/redhat/rhn/frontend/action/common/DownloadFile.java | 5
java/code/src/com/redhat/rhn/frontend/strings/jsp/StringResource_en_US.xml | 3
java/code/src/com/redhat/rhn/frontend/xmlrpc/system/SystemHandler.java | 53
java/code/src/com/redhat/rhn/manager/channel/ChannelManager.java | 1
java/code/webapp/WEB-INF/pages/systems/duplicate/duplicatesystemscompare.jsp | 14
rel-eng/packages/rhn-client-tools | 2
10 files changed, 273 insertions(+), 1427 deletions(-)
---
13 years, 11 months
java/spacewalk-java.spec rel-eng/packages
by Miroslav Suchý
java/spacewalk-java.spec | 77 +++++++++++++++++++++++++++++++++++++++-
rel-eng/packages/spacewalk-java | 2 -
2 files changed, 77 insertions(+), 2 deletions(-)
New commits:
commit 2409f5250c2a3c96d71c610251875eca929979a0
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Thu Jun 17 10:39:33 2010 +0200
Automatic commit of package [spacewalk-java] release [1.1.12-1].
diff --git a/java/spacewalk-java.spec b/java/spacewalk-java.spec
index d822f54..04a69d3 100644
--- a/java/spacewalk-java.spec
+++ b/java/spacewalk-java.spec
@@ -19,7 +19,7 @@ Name: spacewalk-java
Summary: Spacewalk Java site packages
Group: Applications/Internet
License: GPLv2
-Version: 1.1.11
+Version: 1.1.12
Release: 1%{?dist}
URL: https://fedorahosted.org/spacewalk
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
@@ -321,6 +321,81 @@ fi
%{jardir}/postgresql-jdbc.jar
%changelog
+* Thu Jun 17 2010 Miroslav Suchý <msuchy(a)redhat.com> 1.1.12-1
+- Made the duplicate compares page do confirm delete differently
+ (paji(a)redhat.com)
+- Added a sort of 'confirm' logic for delete systems in dup compares page
+ (paji(a)redhat.com)
+- 602591 - "Content-Length" added to response header for different download
+ contents (tlestach(a)redhat.com)
+- 603890 - fix/rewrite system.listSubscribableBaseChannels API
+ (tlestach(a)redhat.com)
+- 576314 - fix for errata being added to the email queue multiple times before
+ it can be run (jsherril(a)redhat.com)
+- bumping up heap to 512m for jsp compiles (shughes(a)redhat.com)
+- bumping up build heap to 512m (shughes(a)redhat.com)
+- Removed an unnecessary abstraction for VirtEntitlements (paji(a)redhat.com)
+- 591291 - associate packages also (when mergeing errata) (tlestach(a)redhat.com)
+- 601656 - fix channel permission check for errata.clone (tlestach(a)redhat.com)
+- 601656 - fix channel permission check for channel.software.mergePackages
+ (tlestach(a)redhat.com)
+- fixing issue where package summary could be null, causing NPE
+ (jsherril(a)redhat.com)
+- 601656 - fix channel permission check (tlestach(a)redhat.com)
+- 591291 - clone errata instead of associating them to custom channels
+ (tlestach(a)redhat.com)
+- fixing hashCode for Errata (tlestach(a)redhat.com)
+- 529359: Fixed a couple of bugs related to Remote Command Package upgrade
+ (paji(a)redhat.com)
+- 595473 525588 - fixing small query issue and moving the ssm operation
+ creation to before the (jsherril(a)redhat.com)
+- 595473 525588 - fixing issue where child channel subscription changes would
+ not use the stored procedure and would instead update rhnServerChannel table
+ directly, bypassing all entitelment logic (jsherril(a)redhat.com)
+- 525588 - changing SSM child channel subscription page to not use hibernate
+ when doing subscribng (jsherril(a)redhat.com)
+- Correct 'checkstyle' errors (colin.coe(a)gmail.com)
+- checkstyle fixes (jsherril(a)redhat.com)
+- Update errata.setDetails to allow setting CVEs (colin.coe(a)gmail.com)
+- Allow CVEs to be set on unpublished errata (colin.coe(a)gmail.com)
+- 585176 - fixing issue where packages were excluded from update on SSM
+ upgradable packages page when the packages had multiple arches
+ (jsherril(a)redhat.com)
+- 585965 - fixing issue with multilib packages and errata-cache generation,
+ where updating one arch of a package would indicate that the other one was
+ updated as well (jsherril(a)redhat.com)
+- 563859 - fixing issue where adding errata to x86_64 channels would only get
+ packages of one arch, even if the errata had two (lib packages)
+ (jsherril(a)redhat.com)
+- unit test fix (jsherril(a)redhat.com)
+- Adding the correct checkstyle for inactive systems (paji(a)redhat.com)
+- 576953 - fixing errata search case sensitivity and not searching on partial
+ cve name (jsherril(a)redhat.com)
+- 588367 - introducing systemgroup.scheduleApplyErrataToActive API call
+ (tlestach(a)redhat.com)
+- 588367 move applyErrataHelper to ErrataManager (tlestach(a)redhat.com)
+- Added the dupe compare css and javascript magic (paji(a)redhat.com)
+- 590204 - fixing issue where pagination wasnt working properly on normal user
+ list page (jsherril(a)redhat.com)
+- Made the default dups compare page preselect a bunch of items
+ (paji(a)redhat.com)
+- Improved a error message on Dups systems page (paji(a)redhat.com)
+- Fix style of commit c4e387bbb1c5cf16f54a2fa968a5613121bc1d7a
+ (lukas.durfina(a)gmail.com)
+- A more functional dupes compare page (paji(a)redhat.com)
+- adding distro deletion to cleanup script (jsherril(a)redhat.com)
+- Removed a no white space after a type cast check since we are not enforcing
+ it anywhere (paji(a)redhat.com)
+- unit test fix (jsherril(a)redhat.com)
+- Generate Debian repository (lukas.durfina(a)gmail.com)
+- Fixed broken unit tests (paji(a)redhat.com)
+- checkstyle fix (joshua.roys(a)gtri.gatech.edu)
+- Updated a typo in the string (paji(a)redhat.com)
+- Updated a resource string (paji(a)redhat.com)
+- Added i18n strings for the systemdetails page (paji(a)redhat.com)
+- Limit automatic config comparisons to diff enabled systems
+ (joshua.roys(a)gtri.gatech.edu)
+
* Mon May 10 2010 Partha Aji <paji(a)redhat.com> 1.1.11-1
- Added an option to selectively delete instead of reactivate when a system is
being reprovisioned (paji(a)redhat.com)
diff --git a/rel-eng/packages/spacewalk-java b/rel-eng/packages/spacewalk-java
index 67345d2..e81a753 100644
--- a/rel-eng/packages/spacewalk-java
+++ b/rel-eng/packages/spacewalk-java
@@ -1 +1 @@
-1.1.11-1 java/
+1.1.12-1 java/
13 years, 11 months
client/rhel rel-eng/packages
by Miroslav Suchý
client/rhel/rhn-client-tools/rhn-client-tools.spec | 93 ++++++++++++++++++++-
rel-eng/packages/rhn-client-tools | 2
2 files changed, 93 insertions(+), 2 deletions(-)
New commits:
commit 4f00896f58070f65fb5c16a371c89ebbc3a47d20
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Thu Jun 17 10:37:56 2010 +0200
Automatic commit of package [rhn-client-tools] release [1.1.7-1].
diff --git a/client/rhel/rhn-client-tools/rhn-client-tools.spec b/client/rhel/rhn-client-tools/rhn-client-tools.spec
index 768eeee..9064605 100644
--- a/client/rhel/rhn-client-tools/rhn-client-tools.spec
+++ b/client/rhel/rhn-client-tools/rhn-client-tools.spec
@@ -4,7 +4,7 @@ Group: System Environment/Base
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
URL: https://fedorahosted.org/spacewalk
Name: rhn-client-tools
-Version: 1.1.6
+Version: 1.1.7
Release: 1%{?dist}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -280,6 +280,97 @@ make -f Makefile.rhn-client-tools test
%endif
%changelog
+* Thu Jun 17 2010 Miroslav Suchý <msuchy(a)redhat.com> 1.1.7-1
+- l10n: Updates to Chinese (China) (zh_CN) translation
+ (leahliu(a)fedoraproject.org)
+- 601683 - properly import get_computer_info routine (mzazrivec(a)redhat.com)
+- 596237 - use correct constant in HardwareWindow (tui) (mzazrivec(a)redhat.com)
+- 596237 - use constants in SendingWindow (mzazrivec(a)redhat.com)
+- 596237 - use constants in SendWindow (mzazrivec(a)redhat.com)
+- 596237 - use constants in PackagesWindow (mzazrivec(a)redhat.com)
+- 596237 - use constants in HardwareWindow (mzazrivec(a)redhat.com)
+- 596237 - use constants in OSReleaseWindow & AlreadyRegisteredWindow
+ (mzazrivec(a)redhat.com)
+- l10n: Updates to Russian (ru) translation (ypoyarko(a)fedoraproject.org)
+- 600316 - don't traceback for zero subscribed channels (mzazrivec(a)redhat.com)
+- l10n: Updates to Russian (ru) translation (ypoyarko(a)fedoraproject.org)
+- l10n: Updates to Russian (ru) translation (ypoyarko(a)fedoraproject.org)
+- l10n: Updates to Russian (ru) translation (ypoyarko(a)fedoraproject.org)
+- l10n: Updates to Spanish (Castilian) (es) translation
+ (gguerrer(a)fedoraproject.org)
+- 598890 - always return product version as string (mzazrivec(a)redhat.com)
+- l10n: Updates to Spanish (Castilian) (es) translation
+ (gguerrer(a)fedoraproject.org)
+- Remove three more exceptions that are not used in our code base.
+ (jpazdziora(a)redhat.com)
+- The rhn-client-tools ChangeLog has't been updated since 2002, removing.
+ (jpazdziora(a)redhat.com)
+- Removing WarningDialog, OkDialog, and QuestionDialog that are not used in our
+ code. (jpazdziora(a)redhat.com)
+- Remove 23 exceptions that are not used in our code base.
+ (jpazdziora(a)redhat.com)
+- Method resetServerList not used in our code, removing.
+ (jpazdziora(a)redhat.com)
+- When startRhnCheck was replaced by spawnRhnCheckForUI, it became unused,
+ removing. (jpazdziora(a)redhat.com)
+- Method getFailedSystemSlots not used in our code, removing.
+ (jpazdziora(a)redhat.com)
+- get_device_property not used in our code, removing. (jpazdziora(a)redhat.com)
+- termsAndConditions not used in our code, removing. (jpazdziora(a)redhat.com)
+- sat_supports_virt_guest_registration not used in our code, removing.
+ (jpazdziora(a)redhat.com)
+- finishMessage not used in our code, removing. (jpazdziora(a)redhat.com)
+- When autoActivateNumbersOnce was removed, autoActivatedHardwareInfo was made
+ unused, removing. (jpazdziora(a)redhat.com)
+- When ActivateSubscriptionPage was removed, activatedRegistrationNumber was
+ made unused, removing. (jpazdziora(a)redhat.com)
+- 597263 - give the focus to the ButtonBar (and thus to the Yes button), to
+ behave as RHEL 5 did. (jpazdziora(a)redhat.com)
+- 596101 - skip the chooseChannelPage when going Back as well, if it should not
+ be shown. (jpazdziora(a)redhat.com)
+- 596102 - fit hw profile into a 2x6 table (mzazrivec(a)redhat.com)
+- 595688 - cancel busy cursor after ValidationError (michael.mraka(a)redhat.com)
+- 595837 - write nice error in case of "connection reset by peer" and xmlrpc
+ protocol error (msuchy(a)redhat.com)
+- 585188 - we need to implement fatalError for loginPageApply and
+ createProfilePageApply. (jpazdziora(a)redhat.com)
+- Remove except which cannot be reached. (jpazdziora(a)redhat.com)
+- 585188 - refactor the RHN Register firstboot code to match firstboot 1.110 on
+ Fedora 12 and RHEL 6. (jpazdziora(a)redhat.com)
+- 585188 - only install legacy firstboot on RHEL 5 (and earlier), the new
+ firstboot for other systems. (jpazdziora(a)redhat.com)
+- 585188 - the firstboot modules for RHEL 5 shall retire in firstboot-legacy-
+ rhel5. (jpazdziora(a)redhat.com)
+- 593194 - fix creating the $(PREFIX)/usr/share/setuptool/setuptool.d when
+ building the package. (jpazdziora(a)redhat.com)
+- 595669 - fix regexp and do not fail if regexp do not match
+ (msuchy(a)redhat.com)
+- whitespace cleanup (msuchy(a)redhat.com)
+- We don't need hwdata target anymore (mzazrivec(a)redhat.com)
+- 580493 - use correct product logos in rhn_register (gui)
+ (mzazrivec(a)redhat.com)
+- 557059 - do not fail on IBM-ESXS controler where ID_PATH is not set
+ (msuchy(a)redhat.com)
+- 580489 - fix requires for rhn-setup-gnome (mzazrivec(a)redhat.com)
+- python-hwdata finaly made it into Fedora and Epel so we can remove from this
+ package and depend on python-hwdata (msuchy(a)redhat.com)
+- 593194 - 99rhn_register to add RHN Register to setup's list of tools.
+ (jpazdziora(a)redhat.com)
+- The bugzilla 556290 had errata released, python-setuptools should be pulled
+ in by python-coverage. (jpazdziora(a)redhat.com)
+- 584780 - move the firstboot _gui.* files to rhn-setup-gnome.
+ (jpazdziora(a)redhat.com)
+- 557059 - we cannot have class None. (jpazdziora(a)redhat.com)
+- 591798 - Completly remove hal code from rhn-client-tools for F-13 and RHEL-6
+ (msuchy(a)redhat.com)
+- 591422 - add hwdata.py to rhn-client-tools. (jpazdziora(a)redhat.com)
+- l10n: Updates to German (de) translation (ttrinks(a)fedoraproject.org)
+- l10n update .pot and .po files for rhn-client-tools (msuchy(a)redhat.com)
+- l10n - translate desktop file too (msuchy(a)redhat.com)
+- cleanup - removing translation file, which does not match any language code
+ (msuchy(a)redhat.com)
+- update po files for rhn-client-tools (msuchy(a)redhat.com)
+
* Wed May 05 2010 Jan Pazdziora 1.1.3-1
- 589100 - address issue when clients were not able to register to the server.
diff --git a/rel-eng/packages/rhn-client-tools b/rel-eng/packages/rhn-client-tools
index 9233bb1..e3e11da 100644
--- a/rel-eng/packages/rhn-client-tools
+++ b/rel-eng/packages/rhn-client-tools
@@ -1 +1 @@
-1.1.6-1 client/rhel/rhn-client-tools/
+1.1.7-1 client/rhel/rhn-client-tools/
13 years, 11 months
Branch 'fve' - 2 commits - java/code
by Partha Aji
java/code/webapp/WEB-INF/pages/systems/duplicate/duplicatesystemscompare.jsp | 20 ++++------
1 file changed, 8 insertions(+), 12 deletions(-)
New commits:
commit 71e79819079e27e7fecf35f506963d32ec69b23a
Merge: 1063bca... eb16cc5...
Author: Partha Aji <paji(a)redhat.com>
Date: Wed Jun 16 17:49:46 2010 -0400
Merge branch 'master' into fve
commit eb16cc52acc136b856718b85e1300ffaec1f4c0f
Author: Partha Aji <paji(a)redhat.com>
Date: Wed Jun 16 17:49:25 2010 -0400
Made the duplicate compares page do confirm delete differently
diff --git a/java/code/webapp/WEB-INF/pages/systems/duplicate/duplicatesystemscompare.jsp b/java/code/webapp/WEB-INF/pages/systems/duplicate/duplicatesystemscompare.jsp
index 5c17997..1d7e75c 100644
--- a/java/code/webapp/WEB-INF/pages/systems/duplicate/duplicatesystemscompare.jsp
+++ b/java/code/webapp/WEB-INF/pages/systems/duplicate/duplicatesystemscompare.jsp
@@ -28,16 +28,11 @@
toggleElement(document.getElementById(linkId + 'Hide'));
}
- function handle_delete(chk_id, div_id, form) {
- var delete_chk_box = document.getElementById(chk_id);
- if (delete_chk_box.checked == true) {
- return form.submit();
- }
-
- var delete_chk_box_div = document.getElementById(div_id);
- if (delete_chk_box_div.style.display == 'none') {
- delete_chk_box_div.style.display = '';
- }
+ function handle_delete(div_del_id, div_confirm_id, form) {
+ var div_del = document.getElementById(div_del_id);
+ var div_confirm = document.getElementById(div_confirm_id);
+ div_del.style.display = 'none';
+ div_confirm.style.display = '';
return false;
}
@@ -105,8 +100,9 @@
</c:when>
<c:otherwise><td></c:otherwise>
</c:choose>
- <div style="display:none" id='div${current.value}'> <input type="checkbox" id="chk_id_${current.value}" name="chk${current.value}" value="${current.value}"/> - <bean:message key="Check to Confirm Delete"/></div>
- <input type="submit" name="btn${current.value}" value="${rhn:localize('Delete System Profile')}" onclick="return handle_delete('chk_id_${current.value}','div${current.value}', this.form);"/><br/>
+ <div style="display:none" id='div_confirm${current.value}'><input type="submit" name="btn${current.value}" value="${rhn:localize('ssm.delete.systems.confirmbutton')}"/></div>
+ <div id='div_del${current.value}'><input type="submit" name="delbtn${current.value}" value="${rhn:localize('Delete System Profile')}"
+ onclick="return handle_delete('div_del${current.value}','div_confirm${current.value}', this.form);"/></div>
</td>
</c:forEach>
</tr>
13 years, 11 months