#154 ✓resolved
semias

adding author/category in news stories

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

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

Comments and changes to this ticket

  • semias

    semias October 8th, 2009 @ 03:24 AM

    short update...

    It is also an issue in adding categories within SiteFAQ.

  • semias

    semias March 9th, 2011 @ 09:20 AM

    • 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”
  • semias

    semias April 22nd, 2011 @ 09:39 AM

    • Milestone changed from 5.0.4 to 5.0.5
    • Milestone order changed from “3” to “0”
  • semias

    semias July 29th, 2011 @ 04:52 AM

    • 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 ();
    });
    
  • semias

    semias July 29th, 2011 @ 05:45 AM

    • Milestone cleared.

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Sitellite web content management system.

People watching this ticket

Tags

Pages