|
@@ -71,21 +71,7 @@
|
71
|
71
|
});
|
72
|
72
|
|
73
|
73
|
$('#tags_prompt_{{ form_name }} input[type="text"]').val(tag_text_help);
|
74
|
|
- $('#tags_prompt_{{ form_name }} input[type="text"]').focus(function(){
|
75
|
|
- if ($(this).val() == tag_text_help)
|
76
|
|
- {
|
77
|
|
- $(this).val('');
|
78
|
|
- //$(this).addClass('focuson');
|
79
|
|
- //$(this).removeClass('focusout');
|
80
|
|
- }
|
81
|
|
- });
|
82
|
|
- $('#tags_prompt_{{ form_name }} input[type="text"]').focusout(function(){
|
83
|
|
- if (!$(this).val())
|
84
|
|
- {
|
85
|
|
- $(this).val(tag_text_help);
|
86
|
|
- //$(this).removeClass('focuson');
|
87
|
|
- //$(this).addClass('focusout');
|
88
|
|
- }
|
89
|
|
- });
|
|
74
|
+ $('#tags_prompt_{{ form_name }} input[type="text"]').formDefaults();
|
|
75
|
+
|
90
|
76
|
|
91
|
77
|
</script>
|