clicking on edit content types gets a continuous loading.
using safari 2.0.4.

d6.0rc2, php5.24

Comments

starbow’s picture

Assigned: Unassigned » starbow
Status: Active » Postponed (maintainer needs more info)

Does Safari have any way of seeing JavaScript errors? (Any equivalent to Firebug?). If the loading graphic plays for more than 3 or 4 seconds, it probably means that the javascript has hit an error.

starbow’s picture

If anyone is having this problem, please enable debugging, open up a console and let me know what's going on:
http://developer.apple.com/internet/safari/faq.html#anchor14

starbow’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)
chirale’s picture

Version: 6.x-1.0-beta2 » 6.x-1.1-beta4
Status: Closed (fixed) » Postponed (maintainer needs more info)

I reopen this issue (hope it isn't wrong). Under Firefox 3.0.1 I got the same error.

Using Firebug, I found that Drupal.settings.popups.template is null on line 259 of popups.js:

258: Drupal.theme.prototype.popupDialog = function(title, body, buttons) {
259: var template = Drupal.settings.popups.template;
260: var popups = template.replace('%title', title).replace('%body', body);
chirale’s picture

I replace line 259 with template code copied from popups-popup.tpl.php (without php t('Close')):

var template = "<div id=\"popups\">  <div id=\"popups-title\">    <div id=\"popups-close\"><a href=\"#\">Close</a></div>    <div class=\"title\">%title</div>    <div class=\"clear-block\"></div>  </div>  <div id=\"popups-body\">%body</div>  <div id=\"popups-buttons\">%buttons</div>  <div id=\"popups-footer\"></div></div>";

and it works fine: just an ugly patch to make it works until it's fixed: well, some field using Javascript like Nodereference and collapsible fieldsets doesn't work (on typing/clicking), and "add another item" for multiple cck fields force popup reload. If you type an existing title on a nodereference field within popup, and then click to "add another item" selection works (reporting Title [nid:111]).

starbow’s picture

This might be the same timing issue as over at http://drupal.org/node/325446
Maybe the "Scan all pages for popups links" checkbox in RC3 will fix you up as well.

starbow’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)