Custom Query (7259 matches)


Show under each result:

Results (103 - 105 of 7259)

Ticket Resolution Summary Owner Reporter
#1875 fixed UI_Sortable - update callback is not called dubhunter

I looked in the ui.sortable.js file and found that the call to it was commented out on line 186 (in my file). When I uncommented it, errors spewed (prob why it was commented).

After playing with it for a couple hours, I think I fixed it by commented out the $(self.helper).remove(); line (178).

All seems to work now in FF.

Hope this helps....

I will attach the source for a diff....

#1876 fixed ui.dialog.js - Dialog Positioning Improvement rdworth ALLPRO

The current code for positioning a dialog window does not work if the dialog source DIV is 'hidden', which is likely to be a common way of using the dialog component. (I put my dialogs inside a hidden container div.) The problem is that you cannot 'measure' a div that is not displayed. This prevents the proper positioning of the dialog, such as 'center'.

There is a very simple solution - set...

display: block; visibility: hidden

...before measuring width and height. This allows dimensions to be taken without making the DIV visible.

Here is the modified 'open' code - only the first and last lines are new... = function() {
  uiDialog.appendTo('body')'''.css({ visibility: 'hidden' })'''.show();
  var wnd = $(window), top = 0, left = 0;
  switch (options.position) {
    case 'center':
      top = (wnd.height() / 2) - (uiDialog.height() / 2);
      left = (wnd.width() / 2) - (uiDialog.width() / 2);
    case 'left':
      top = (wnd.height() / 2) - (uiDialog.height() / 2);
      left = 0;
    case 'top':
      top = 0;
      left = (wnd.width() / 2) - (uiDialog.width() / 2);
  uiDialog.css({ top: top, left: left, visibility: 'visible'  });
#1880 fixed Datepicker: should position itself so it is always visible iMarc jspath

The datepicker (v3.0) does not position itself so it is always visible to users.

Ideally, information about the user's browser window, the desired launch position, and the size of the calendar could be used to position the calendar such that it is always visible.

Note: See TracQuery for help on using queries.