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 74-80 $(document).ready(function() { Link Here
74
        e.preventDefault();
74
        e.preventDefault();
75
	});
75
	});
76
	$("#other_reason[% suggestion.suggestiontype %]").hide();
76
	$("#other_reason[% suggestion.suggestiontype %]").hide();
77
    $("input[name*=other_reason[% suggestion.suggestiontype %]]").focus(function(){ $(this).val(""); });
78
    $("#reason[% suggestion.suggestiontype %]").change(function(){
77
    $("#reason[% suggestion.suggestiontype %]").change(function(){
79
	    if($(this).val() == "other"){
78
	    if($(this).val() == "other"){
80
			$(this).hide();
79
			$(this).hide();
Lines 580-586 h4.local_collapse a { font-size : 80%; text-decoration: none; } fieldset.brief o Link Here
580
            </select>
579
            </select>
581
580
582
            <span id="other_reason[% suggestion.suggestiontype %]">
581
            <span id="other_reason[% suggestion.suggestiontype %]">
583
                <input type="text" size="31" id="select-other_reason[% suggestion.suggestiontype %]" name="other_reason[% suggestion.suggestiontype %]" value="please note your reason here..." />
582
                <input type="text" size="31" id="select-other_reason[% suggestion.suggestiontype %]" name="other_reason[% suggestion.suggestiontype %]" placeholder="please note your reason here..." />
584
                <a href="#back[% suggestion.suggestiontype %]">Cancel</a>
583
                <a href="#back[% suggestion.suggestiontype %]">Cancel</a>
585
            </span>
584
            </span>
586
585
587
- 

Return to bug 11686