Databases Reference
In-Depth Information
Here is a complete listing of jquery.ui.clarifitDialog_1.0.0.js followed by a breakdown of each
section. When reading through this code, you should start to notice how everything nicely meshes
together.
001 /**
002 * ClariFit jQuery UI Dialog
003 * Plug-in Type: Dynamic Action
004 * Summary: Displays a jQuery UI Dialog window for affected elements
005 *
006 * Depends:
007 * jquery.ui.dialog.js
008 * $.console.js - http://code.google.com/p/js-console-wrapper/
009 *
010 * Notes:
011 * Object to be shown in Dialog window needs to be wrapped in order to preserve its
position in DOM
012 * See: http://forums.oracle.com/forums/thread.jspa?messageID=3180532 fo r more
information.
013 *
014 * ^^^ Contact information ^^^
015 * Developed by ClariFit Inc.
016 * http://www.clarifit.com
017 * apex@clarifit.com
018 *
019 * ^^^ License ^^^
020 * Licensed Under: GNU General Public License, version 3 (GPL-3.0) -
www.opensource.org/licenses/gpl-3.0.html
021 *
022 * @author Martin Giffy D'Souza - www.talkapex.com
023 */
024 (function($){
025 $.widget('ui.clarifitDialog', {
026 // default options
027 options: {
028 //Configurable options in APEX plugin
029 modal: true,
030 closeOnEscape: true,
031 title: '',
032 persist: true, //Future option, no affect right now
033 onCloseVisibleState: 'prev' //Restore objects visible state once closed
034 },
035
036 /**
037 * Init function. This function will be called each time the widget is referenced with
no parameters
038 */
039 _init: function(){
040 var uiw = this;
041 var consoleGroupName = uiw._scope + '._init';
042 $.console.groupCollapsed(consoleGroupName);
043
Search WWH ::




Custom Search