This is a weird problem. First, this only happens with IE. Most of the times, when viewing a node, tag input box doesn't appear, and the ADD button is replaced by a SAVE button (see attached screenshot). When i click SAVE, sometimes it gives an error saying that i have to enter a term (or sometimes there isn't any error at all) and input box appears together with the ADD button. Other times, SAVE button just stays there and i keep clicking it until it gives that error or it changes. Or alternatively i refresh the page with CTRL+F5 and it returns to normal immediately. And sometimes when i try to view a node, i get this popping-up IE error saying that it cannot open that page, and when i try again it loads. I prefer Firefox myself, and it doesn't have any of these weird problems. But, since most of the internet users still use IE, i hope to find a solution. And what does this SAVE button do, anyway?

CommentFileSizeAuthor
save.JPG44.78 KBdrupaloSa

Comments

drupaloSa’s picture

Category: support » bug
Priority: Normal » Critical

Here are the page source codes taken from IE and FF:

FF:

<div class="form-item">
 <label for="edit-tags">Benim etiketlerim: </label>
 <div class="tag-widget"><ul class="inline-tags clear-block"><li key="0">kaçırılma</li><li key="1">süpergüçler</li></ul><input style="display: inline;" autocomplete="OFF" maxlength="100" name="tags" id="edit-tags" size="20" value="kaçırılma, süpergüçler" class="form-text form-autocomplete form-tags" type="text"><br><input class="form-button" value="Ekle" type="button"></div>
 <div class="description"><span class="no-js">Bu diziyi tanımlayan etiketler (virgülle ayırın). </span>Örnek: uçak kazası, deniz, ıssız ada</div>
</div>

<input class="autocomplete" id="edit-tags-autocomplete" value="http://www.focagenc.net/tv/taxonomy/autocomplete/3" disabled="disabled" type="hidden"><input style="display: none;" name="op" id="edit-submit-2" value="Kaydet" class="form-submit" type="submit">

IE7:

<div class="form-item">
 <label for="edit-tags">Benim etiketlerim: </label>
 <input type="text" maxlength="100" name="tags" id="edit-tags"  size="20" value="kaçırılma, süpergüçler" class="form-text form-autocomplete form-tags" />
 <div class="description"><span class="no-js">Bu diziyi tanımlayan etiketler (virgülle ayırın). </span>Örnek: uçak kazası, deniz, ıssız ada</div>
</div>
<input class="autocomplete" type="hidden" id="edit-tags-autocomplete" value="http://www.focagenc.net/tv/taxonomy/autocomplete/3" disabled="disabled" /><input type="submit" name="op" id="edit-submit-2" value="Kaydet"  class="form-submit" />

I don't know JavaScript but i guess with IE following codes are skipped or just don't work in community_tags.js file:

      // Hide submit buttons.
      $('input[@type=submit]', this.form).hide();

since SAVE button is displayed and

      // Show the textfield and empty its value.
      var textfield = $(this).val('').css('display', 'inline');

since textbox isn't displayed.

I also change this to a bug report.

drupaloSa’s picture

Status: Active » Closed (fixed)

It was caused by youtube.inc of Emfield module. It's been fixed now.