Invokes the $.mobile.changePage method
13120
static void changePage(String url, TransitionIntf<?> t, boolean reverse, boolean changeHash,
                           boolean dialog) {
        changingPage = true;
        try {
            changePage(url, t.getJqmValue(), reverse, changeHash, dialog ? DATA_ROLE_DIALOG : null);
        } finally {
            changingPage = false;
        }
    }
766497
private void fireChangeFromNative() {

        // skip firing the change event, if the external flag is set
        if (m_initialized && !m_externalValueChange && m_active) {
            Scheduler.get().scheduleDeferred(new ScheduledCommand() {

                public void execute() {

                    try {
                        fireValueChange(false);
                    } catch (Throwable t) {
                        // this may happen when returning from full screen mode, nothing to be done
                    }
                }
            });
        }
        // reset the external flag
        m_externalValueChange = false;
    }
1351191
protected void setPageChanged(boolean changed, boolean unlock) {

        if (changed) {
            if (!m_pageChanged) {
                m_pageChanged = changed;
                lockContainerpage(new I_CmsSimpleCallback<Boolean>() {

                    public void execute(Boolean arg) {

                        // nothing to do
                    }
                });
            }
        } else {
            m_pageChanged = changed;
            if (unlock) {
                unlockContainerpage();
            }
        }
    }
160287
private void fireUserInputChange() {
		if (!internallySettingText && (this.listeners != null)) {
			for (Iterator it = this.listeners.iterator(); it.hasNext();) {
				UserInputListener userInputListener = (UserInputListener) it.next();
				userInputListener.update(this);
			}
		}
	}
629112
function (pageName, role) {
            var lastPageName     = this.currentPageName || '';
            var lastPageRole     = this.currentPageRole || '';
            this.currentPageName = pageName;
            this.currentPageRole = role;

            // Known transition, return it.
            if (_(this.transitions).has(lastPageName + '-->' + pageName)) {
                return this.transitions[lastPageName + '-->' + pageName];
            }

            // Use JQueryMobile default page transition.
            var transition = $.mobile.defaultPageTransition;

            // Except for dialogs.
            if ((role === 'dialog') || (lastPageRole === 'dialog')) {
                // Use JQueryMobile default dialog transition.
                transition = $.mobile.defaultDialogTransition;
            }

            // Save the transition
            this.transitions[lastPageName + '-->' + pageName] = {
                transition: transition,
                reverse: false
            };
            this.transitions[pageName + '-->' + lastPageName] = {
                transition: transition,
                reverse: true
            };

            // And return it.
            return { transition: transition, reverse: false };
        }
307317
function(callback, nowait) {
    var self = this;
    var loadWait = function() {
      setTimeout(function() {
        self.waitForPage(callback, true);
      }, 100);
    };
    if (nowait) {
      if (loading) {
        loadWait();
      }
      else {
        getPage(function(page) {
          page.evaluate(function() {
            return jQuery.isReady;
          }, function(ready) {
            if (ready) {
              callback.call(self);
            }
            else {
              loadWait();
            }
          });
        });
      }
    }
    else {
      loadWait();
    }
  }
696496
function(name) {
      if (name === 'change' || name.indexOf('change:') === 0) {
        View.prototype.trigger.apply(this.view, arguments);
      }
      if (name.indexOf('change:hide:') === 0) {
        this.view.render();
      }
      NestedCell.prototype.trigger.apply(this, arguments);
    }
1334071
function(page) {
      var t = this,
          newPages = t.pages.slice(0);
      newPages.push(page);
      t.tour.set('pages', newPages);
      t.tour.isDirty = true;
      t.setDirty(true);
      t.loadForm();
    }
685296
function (e) {
        if (e.prevValue !== e.newValue) {
            var change = this._state || {},
                state;

            change[e.type.replace(/Change$/,'')] = e.prevValue;
            state = this.getState(change);

            if (state.page !== state.before.page) {
                if (this._batch) {
                    this._pageChanged = true;
                } else {
                    this._firePageChange(state);
                }
            }
        }
    }
549411
public static void changePage(JQMContainer container, TransitionIntf<?> transition, boolean reverse) {
        changePage(container, false/*dialog*/, transition, reverse);
    }
1069522
function() {
            var applyTouchMove = function(difference_x, difference_y) {
                $this.scrollTop($this.scrollTop() - difference_y);
                $this.scrollLeft($this.scrollLeft() - difference_x);

                // update bar position
                updateBarSizeAndPosition();
            };

            var start_coords = {},
                start_time = 0,
                speed = {},
                breaking_process = null;

            $this.bind("touchstart.perfect-scroll", function(e) {
                var touch = e.originalEvent.targetTouches[0];

                start_coords.pageX = touch.pageX;
                start_coords.pageY = touch.pageY;

                start_time = (new Date()).getTime();

                if (breaking_process !== null) {
                    clearInterval(breaking_process);
                }
            });
            $this.bind("touchmove.perfect-scroll", function(e) {
                var touch = e.originalEvent.targetTouches[0];

                var current_coords = {};
                current_coords.pageX = touch.pageX;
                current_coords.pageY = touch.pageY;

                var difference_x = current_coords.pageX - start_coords.pageX,
                    difference_y = current_coords.pageY - start_coords.pageY;

                applyTouchMove(difference_x, difference_y);
                start_coords = current_coords;

                var current_time = (new Date()).getTime();
                speed.x = difference_x / (current_time - start_time);
                speed.y = difference_y / (current_time - start_time);
                start_time = current_time;

                e.preventDefault();
            });
            $this.bind("touchend.perfect-scroll", function(e) {
                breaking_process = setInterval(function() {
                    if(Math.abs(speed.x) < 0.01 && Math.abs(speed.y) < 0.01) {
                        clearInterval(breaking_process);
                        return;
                    }

                    applyTouchMove(speed.x * 30, speed.y * 30);

                    speed.x *= 0.8;
                    speed.y *= 0.8;
                }, 10);
            });
        }
782810
protected void prepareDialogPage(DialogPage page) {
		page.addPropertyChangeListener(childChangeHandler);
		JComponent c = page.getControl();
		GuiStandardUtils.attachDialogBorder(c);
		Dimension size = c.getPreferredSize();
		if (size.width > largestPageWidth) {
			largestPageWidth = size.width;
		}
		if (size.height > largestPageHeight) {
			largestPageHeight = size.height;
		}
	}
254488
function onChange(changedPath, event) {
       var _ref = path.extname(changedPath),
           action = cssExtensions.indexOf(_ref) >= 0 ? 'updateCSS' : 'reload';
       //first change is with delayTime delay , thereafter only once there has been no further changes for guardTime seconds

       //validate the change
       if (customOnChange.validate) {
           if (!customOnChange.validate(changedPath, event,action)) { return ;} //ignore changes if the app says-so
       }

       //avoid multiple rapid changes
       var delay=delayTime;
       if (lastRun[action].guardTime) { clearTimeout(lastRun[action].guardTime); delay=guardTime;}
       if (lastRun[action].delayTime) { clearTimeout(lastRun[action].delayTime); delay=delayTime;}
       lastRun[action].delayTime = setTimeout(function(){
           onChangeFiltered(changedPath, event, action);
           lastRun[action].guardTime = setTimeout(function(){
               lastRun[action].guardTime=null;
               }, delay);
            lastRun[action].delayTime=null;
           }, delay);

       return Date.now();
     }
203636
function( e ) {
			var elem = e.target;

			if ( elem.nodeName.toLowerCase() === "input" && elem.type === "radio" ) {
				jQuery.data( elem, "_change_data", getVal(elem) );
			}
		}
1043128
function(client, initialData, totalLength, requestOptions, successStatuses, successRootKeys, promise) {
    this.currentPage = 1; // default to start at page 1
    // this.perPage = queryParams && queryParams.per_page || 25; // default to 25 per page
    this.totalLength = totalLength;
    // bootstrap with initial data
    this.push.apply(this, initialData);

    this.client = client;
    this.requestOptions = requestOptions;
    this.successStatuses = successStatuses;
    this.successRootKeys = successRootKeys;
    this.promise = promise;
  }
139574
function() {
		this.scrollToCurrent();
		window.addEventListener('hashchange', this.scrollToCurrent.bind(this));
		document.body.addEventListener('click', this.delegateAnchors.bind(this));
	  }
59576
function layoutChanged(oldpage, newpage) {
      if (oldpage && oldpage.fixlayout) return true;
      if (lang(oldpage) !== lang(newpage)) return true;
      var currentlayout = $layout.attr('data-render-layout') || 'main-layout';
      var newlayout = generator.layoutTemplate(newpage);
      return (newlayout !== currentlayout);
    }