View | Details | Raw Unified | Return to bug 17056
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt (-1 / +4 lines)
Lines 19-24 Link Here
19
19
20
	 $(document).ready(function() {
20
	 $(document).ready(function() {
21
        $('#bibliotabs').tabs();
21
        $('#bibliotabs').tabs();
22
        $("#Frameworks").on("change",function(){
23
            Changefwk(this);
24
        });
22
	 });
25
	 });
23
26
24
function Changefwk(FwkList) {
27
function Changefwk(FwkList) {
Lines 58-64 function Changefwk(FwkList) { Link Here
58
61
59
[% END %]
62
[% END %]
60
63
61
    <p><b>With framework : <select name="Frameworks" id="Frameworks" onchange="Changefwk(this);">
64
    <p><b>With framework : <select name="Frameworks" id="Frameworks">
62
                            <option value="">Default</option>
65
                            <option value="">Default</option>
63
                            [% FOREACH frameworkcodeloo IN frameworkcodeloop %]
66
                            [% FOREACH frameworkcodeloo IN frameworkcodeloop %]
64
                            [% IF ( frameworkcodeloo.selected ) %]<option value="[% frameworkcodeloo.value %]" selected="selected">[% frameworkcodeloo.frameworktext %]</option>[% ELSE %]<option value="[% frameworkcodeloo.value %]">[% frameworkcodeloo.frameworktext %]</option>[% END %]
67
                            [% IF ( frameworkcodeloo.selected ) %]<option value="[% frameworkcodeloo.value %]" selected="selected">[% frameworkcodeloo.frameworktext %]</option>[% ELSE %]<option value="[% frameworkcodeloo.value %]">[% frameworkcodeloo.frameworktext %]</option>[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/labeledMARCdetail.tt (+5 lines)
Lines 19-24 Link Here
19
	//<![CDATA[
19
	//<![CDATA[
20
        var browser = KOHA.browser('[% searchid %]', parseInt('[% biblionumber %]', 10));
20
        var browser = KOHA.browser('[% searchid %]', parseInt('[% biblionumber %]', 10));
21
        browser.show();
21
        browser.show();
22
        $(document).ready(function() {
23
            $("#Frameworks").on("change",function(){
24
                Changefwk(this);
25
            });
26
        });
22
		function Changefwk(FwkList)
27
		function Changefwk(FwkList)
23
		{
28
		{
24
			var fwk = FwkList.options[FwkList.selectedIndex].value;
29
			var fwk = FwkList.options[FwkList.selectedIndex].value;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/offline_circ/process_koc.tt (-2 / +2 lines)
Lines 111-124 function CheckForm(f) { Link Here
111
111
112
   <form action="enqueue_koc.pl" id="processfile" method="post" enctype="multipart/form-data">
112
   <form action="enqueue_koc.pl" id="processfile" method="post" enctype="multipart/form-data">
113
     <input type="hidden" name="uploadedfileid" id="uploadedfileid" value="" />
113
     <input type="hidden" name="uploadedfileid" id="uploadedfileid" value="" />
114
     <input type="submit" value="Add to offline circulation queue" onclick="return CheckForm(this.form);" id="queueformsubmit" />
114
     <input type="submit" value="Add to offline circulation queue" id="queueformsubmit" />
115
   </form>
115
   </form>
116
116
117
   <form action="process_koc.pl" id="enqueuefile" method="post" enctype="multipart/form-data">
117
   <form action="process_koc.pl" id="enqueuefile" method="post" enctype="multipart/form-data">
118
     <input type="hidden" name="uploadedfileid" id="uploadedfileid" value="" />
118
     <input type="hidden" name="uploadedfileid" id="uploadedfileid" value="" />
119
     <input type="hidden" name="runinbackground" id="runinbackground" value="" />
119
     <input type="hidden" name="runinbackground" id="runinbackground" value="" />
120
     <input type="hidden" name="completedJobID" id="completedJobID" value="" />
120
     <input type="hidden" name="completedJobID" id="completedJobID" value="" />
121
     <input type="submit" value="Apply directly" onclick="return CheckForm(this.form);" id="mainformsubmit" />
121
     <input type="submit" value="Apply directly" id="mainformsubmit" />
122
     <div id="jobstatus" style="display:none">Job progress: <div id="jobprogress"></div> <span id="jobprogresspercent">0</span>%</div>
122
     <div id="jobstatus" style="display:none">Job progress: <div id="jobprogress"></div> <span id="jobprogresspercent">0</span>%</div>
123
     <div id="jobfailed" style="display:none"></div>
123
     <div id="jobfailed" style="display:none"></div>
124
   </form>
124
   </form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt (-1 / +4 lines)
Lines 227-232 $("#delColumn").on("click",function(){ Link Here
227
    });
227
    });
228
    $("#select_group").change();
228
    $("#select_group").change();
229
    $("#select_subgroup").change();
229
    $("#select_subgroup").change();
230
    $("#group_select").on("change",function(){
231
        load_group_subgroups();
232
    });
230
[% END %]
233
[% END %]
231
});
234
});
232
//]]>
235
//]]>
Lines 1073-1079 $("#column_submit").submit(function() { Link Here
1073
        <input type="radio" name="select_or_create_group"
1076
        <input type="radio" name="select_or_create_group"
1074
            id="select_group" checked="checked" />
1077
            id="select_group" checked="checked" />
1075
        <label for="select_group" style="float:none">Select</label>
1078
        <label for="select_group" style="float:none">Select</label>
1076
        <select name="group" onChange="load_group_subgroups();" id="group_select">
1079
        <select name="group" id="group_select">
1077
            <option value="">(None)</option>
1080
            <option value="">(None)</option>
1078
            [% FOREACH group IN groups_with_subgroups %]
1081
            [% FOREACH group IN groups_with_subgroups %]
1079
                [% IF (group.selected) %]
1082
                [% IF (group.selected) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt (-5 / +9 lines)
Lines 167-173 h4.local_collapse a { font-size : 80%; text-decoration: none; } fieldset.brief o Link Here
167
[% IF ( op_save )  %]
167
[% IF ( op_save )  %]
168
    <script type="text/javascript">
168
    <script type="text/javascript">
169
        // <![CDATA[
169
        // <![CDATA[
170
        $(document).ready(function() { calcNewsuggTotal(); });
170
        $(document).ready(function(){
171
            calcNewsuggTotal();
172
            $("#quantity,#price,#currency").on("change",function(){
173
                calcNewsuggTotal();
174
            });
175
        });
171
        // ]]>
176
        // ]]>
172
    </script>
177
    </script>
173
[% END %]
178
[% END %]
Lines 431-437 h4.local_collapse a { font-size : 80%; text-decoration: none; } fieldset.brief o Link Here
431
                [% IF ( budgetsloo.selected ) %]<option value="[% budgetsloo.budget_id %]" selected="selected">[% budgetsloo.budget_name %]</option>[% ELSE %]<option value="[% budgetsloo.budget_id %]">[% budgetsloo.budget_name %]</option>[% END %][% END %]
436
                [% IF ( budgetsloo.selected ) %]<option value="[% budgetsloo.budget_id %]" selected="selected">[% budgetsloo.budget_name %]</option>[% ELSE %]<option value="[% budgetsloo.budget_id %]">[% budgetsloo.budget_name %]</option>[% END %][% END %]
432
            </select>
437
            </select>
433
		</li><li><label for="quantity">Copies:</label>
438
		</li><li><label for="quantity">Copies:</label>
434
			<input type="text" size="10" id="quantity" name="quantity" value="[% quantity %]" onchange="calcNewsuggTotal();" />
439
            <input type="text" size="10" id="quantity" name="quantity" value="[% quantity %]" />
435
                </li>
440
                </li>
436
                <li>
441
                <li>
437
                    <label for="currency">Currency:</label>
442
                    <label for="currency">Currency:</label>
Lines 440-446 h4.local_collapse a { font-size : 80%; text-decoration: none; } fieldset.brief o Link Here
440
                        <input type="hidden" id="[% c.currency %]" name="[% c.currency %]" value="[% c.rate %]" />
445
                        <input type="hidden" id="[% c.currency %]" name="[% c.currency %]" value="[% c.rate %]" />
441
                    [% END %]
446
                    [% END %]
442
447
443
                    <select name="currency" id="currency" onchange="calcNewsuggTotal();">
448
                    <select name="currency" id="currency">
444
                        [% FOREACH c IN currencies %]
449
                        [% FOREACH c IN currencies %]
445
                            [% IF suggestionid and suggestion.currency == c.currency or not suggestionid and c.active %]
450
                            [% IF suggestionid and suggestion.currency == c.currency or not suggestionid and c.active %]
446
                                <option value="[% c.currency %]" selected="selected">[% c.currency %]</option>
451
                                <option value="[% c.currency %]" selected="selected">[% c.currency %]</option>
Lines 451-457 h4.local_collapse a { font-size : 80%; text-decoration: none; } fieldset.brief o Link Here
451
                    </select>
456
                    </select>
452
                </li>
457
                </li>
453
                <li><label for="price">Price:</label>
458
                <li><label for="price">Price:</label>
454
			<input type="text" size="20" name="price" id="price" value="[% price %]" onchange="calcNewsuggTotal();" />
459
            <input type="text" size="20" name="price" id="price" value="[% price %]" />
455
                </li><li><label for="total">Total: </label>
460
                </li><li><label for="total">Total: </label>
456
			<input type="text" readonly="readonly" id="total" name="total" size="10" value="[% total %]"/>
461
			<input type="text" readonly="readonly" id="total" name="total" size="10" value="[% total %]"/>
457
                </li></ol>
462
                </li></ol>
458
- 

Return to bug 17056