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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt (-3 / +1 lines)
Lines 72-78 $(document).ready(function() { Link Here
72
        e.preventDefault();
72
        e.preventDefault();
73
	});
73
	});
74
	$("#other_reason[% suggestion.suggestiontype %]").hide();
74
	$("#other_reason[% suggestion.suggestiontype %]").hide();
75
    $("input[name*=other_reason[% suggestion.suggestiontype %]]").focus(function(){ $(this).val(""); });
76
    $("#reason[% suggestion.suggestiontype %]").change(function(){
75
    $("#reason[% suggestion.suggestiontype %]").change(function(){
77
	    if($(this).val() == "other"){
76
	    if($(this).val() == "other"){
78
			$(this).hide();
77
			$(this).hide();
Lines 578-584 h4.local_collapse a { font-size : 80%; text-decoration: none; } fieldset.brief o Link Here
578
            </select>
577
            </select>
579
578
580
            <span id="other_reason[% suggestion.suggestiontype %]">
579
            <span id="other_reason[% suggestion.suggestiontype %]">
581
                <input type="text" size="31" id="select-other_reason[% suggestion.suggestiontype %]" name="other_reason[% suggestion.suggestiontype %]" value="please note your reason here..." />
580
                <input type="text" size="31" id="select-other_reason[% suggestion.suggestiontype %]" name="other_reason[% suggestion.suggestiontype %]" placeholder="please note your reason here..." />
582
                <a href="#back[% suggestion.suggestiontype %]">Cancel</a>
581
                <a href="#back[% suggestion.suggestiontype %]">Cancel</a>
583
            </span>
582
            </span>
584
583
585
- 

Return to bug 11686