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

Return to bug 11686