Changeset 412

Show
Ignore:
Timestamp:
04/07/08 20:09:35 (5 years ago)
Author:
d0nut
Message:

fixed ticket #7.. return from submit doesn't send the formular.. also added autocompletion to classic style

Location:
taggingreloaded/templates
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • taggingreloaded/templates/messageFormTaggingClassic.tpl

    r178 r412  
    44        </div> 
    55        <div class="formField"> 
    6                 <input type="text" class="inputText" name="inputTagging" id="inputTagging" value="{$tags}" tabindex="11" /> 
     6                <input type="text" class="inputText" name="inputTagging" id="inputTagging" value="{$tags}" tabindex="11" onkeypress="if(event.keyCode=='13')return false" onkeydown="if(event.keyCode=='13')return false"/> 
     7                <script type="text/javascript" src="{@RELATIVE_WCF_DIR}js/Suggestion.class.js"></script> 
     8                <script type="text/javascript"> 
     9                        //<![CDATA[ 
     10                        suggestion.setSource('index.php?page=PublicTaggingSuggest'); 
     11                        suggestion.setSeparator(' '); 
     12                        suggestion.init('inputTagging'); 
     13                        //]]> 
     14                </script> 
    715                {lang}wcf.taggingreloaded.add.description{/lang} 
    816        </div> 
  • taggingreloaded/templates/messageFormTaggingReloaded.tpl

    r204 r412  
    1919                </div> 
    2020                <div class="formField"> 
    21                         <input type="text" name="inputTagging" id="inputTagging" size="65" /> 
     21                        <input type="text" name="inputTagging" id="inputTagging" size="65" onkeypress="if(event.keyCode=='13')return false" onkeydown="if(event.keyCode=='13')return false"/> 
    2222                        <input type="button" value="{lang}wcf.taggingreloaded.add{/lang}" onclick="tagging.formadd(this.form.inputTagging);" style="display:none" id="inputTaggingSubmit"/> 
    2323                        <script type="text/javascript" src="{@RELATIVE_WCF_DIR}js/Suggestion.class.js"></script>