Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

adding author/category in news stories

#154

Adding author and categories in news stories results in showing the confirm pop-up as of you are navigating away from editing a page.You only can click cancel to actually add a new author or category.

Sitellite 5.0.3 (sept. 4th from github)
PHP 5.1.6

Reported by semias · October 6th, 2009 @ 02:42 AM

State: resolved
Milestone: none
Assigned to: semias semias

Activity

  1. semias
    semias

    short update...

    It is also an issue in adding categories within SiteFAQ.

    October 8th, 2009 @ 03:24 AM

  2. semias
    semias
    • State changed from new to open
    • Milestone set to 5.0.4
    • Assigned user changed from lux to semias
    • Milestone order changed from 0 to 0

    March 9th, 2011 @ 09:20 AM

  3. semias
    semias
    • Milestone changed from 5.0.4 to 5.0.5
    • Milestone order changed from 3 to 0

    April 22nd, 2011 @ 09:39 AM

  4. semias
    semias
    • State changed from open to resolved

    The problem was an old reference to a prototype object in the new jQuery function. The prototype new Effect.BlindDown was replaced with jQuery slideDown, but the obj.element should be replaced by this to point to the DOM element in js/prompt.js.

    OLD:

    $('#prompt-dialog-' + this.num).slideDown ('normal', function () {
      n = obj.element.id.split ('-')[2];
      document.getElementById ('prompt-window-' + n + '-user').style.overflow = 'auto';
      document.getElementById ('prompt-window-' + n + '-user').focus ();
    });
    

    NEW:

    $('#prompt-dialog-' + this.num).slideDown ('normal', function () {
      n = this.id.split ('-')[2]; // semias edit: 'this' points to DOM element instead of 'obj.element'
      document.getElementById ('prompt-window-' + n + '-user').style.overflow = 'auto';
      document.getElementById ('prompt-window-' + n + '-user').focus ();
    });
    

    July 29th, 2011 @ 04:52 AM

  5. semias
    semias
    • Milestone cleared.

    July 29th, 2011 @ 05:45 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.