/[smecontribs]/rpms/smeserver-tw-logonscript/contribs10/smeserver-tw-logonscript-1.5-bz12154-revert-workgroup-restart-bz11039.patch
ViewVC logotype

Contents of /rpms/smeserver-tw-logonscript/contribs10/smeserver-tw-logonscript-1.5-bz12154-revert-workgroup-restart-bz11039.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Wed Aug 24 14:54:43 2022 UTC (2 years, 3 months ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-tw-logonscript-1_5-12_el7_sme, smeserver-tw-logonscript-1_5-11_el7_sme, smeserver-tw-logonscript-1_5-10_el7_sme, HEAD
Error occurred while calculating annotation data.
* Wed Aug 24 2022 John Crisp <jcrisp@safeandsoundit.co.uk>
- Revert button removal and update to the onclick [SME: 12154]

1 diff -ruN smeserver-tw-logonscript-1.5.old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/ibayletters.pm smeserver-tw-logonscript-1.5/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/ibayletters.pm
2 --- smeserver-tw-logonscript-1.5.old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/ibayletters.pm 2022-08-24 15:20:35.632762859 +0100
3 +++ smeserver-tw-logonscript-1.5/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/ibayletters.pm 2022-08-24 15:27:02.872157296 +0100
4 @@ -155,11 +155,10 @@
5
6 print $q->end_table,"\n";
7 print $q->hidden (-name => 'IbayLettersSave', -override => 1, -default => 1);
8 - #now we force reload on every save, previously was default 0 and you needed to use second button
9 - print $q->hidden (-name => 'WorkgroupSave', -override => 1, -default => 1);
10 + print $q->hidden (-name => 'WorkgroupSave', -id => 'WorkgroupSave', -override => 1, -default => 0);
11 print $q->submit (-name => 'sendbutton', -value => $self->localise('SAVE') );
12 - #print "<p>".$self->localise('SMB_NEEDS_RESTART_PROCEED')." </p>";
13 - #print "<input type=\"button\" class=\"button-like\" onClick=\"document.getElementsByName('WorkgroupSave').value = 1; this.form.submit(); \" value=\"".$self->localise('RELOAD_WORKGROUP_SETTINGS')."\">";
14 + print "<p>".$self->localise('SMB_NEEDS_RESTART_PROCEED')." </p>";
15 + print "<input type=\"button\" class=\"button-like\" onClick=\"document.getElementById('WorkgroupSave').value = 1; this.form.submit(); \" value=\"".$self->localise('RELOAD_WORKGROUP_SETTINGS')."\">";
16 return "";
17 }
18
19 @@ -295,3 +294,4 @@
20 $self->wherenext('First');
21 return;
22 }
23 +

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed