Changeset 2712 for trunk/phpgwapi/js/tools
- Timestamp:
- 05/05/10 15:52:35 (14 years ago)
- Location:
- trunk/phpgwapi/js/tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpgwapi/js/tools/xconnector.js
r2685 r2712 218 218 '_ACCESS' : _argv.access, 219 219 '_HANDLER' : { }, 220 '_POST' : ( ( _argv.post ) ? _argv.post : false ), // [GET | POST]220 '_POST' : ( ( _argv.post && _argv.post != null ) ? _argv.post : false ), // [GET | POST] 221 221 '_MODE' : 'TEXT', // [XML | TEXT] 222 222 '_TYPE' : null, // [4 for request | 3 for stream] -
trunk/phpgwapi/js/tools/xlink.js
r2710 r2712 17 17 _action = window.location.protocol + '//' + window.location.host + _action; 18 18 19 if ( _action == _last_request ) 19 var _post = ( arguments.length == 3 && arguments[ 2 ] && arguments[ 2 ].constructor == String ) ? arguments[ 2 ] : null; 20 21 if ( _post == null && _action == _last_request ) 20 22 return false; 21 23 … … 36 38 'access' : _action, 37 39 'cache' : _cache, 38 'handler' : _handler 40 'handler' : _handler, 41 'post' : _post 39 42 } ); 40 43 … … 148 151 _click( arguments[ 0 ], 149 152 ( 150 ( arguments.length > 1 && arguments[ 1 ] .constructor == Boolean ) ?153 ( arguments.length > 1 && arguments[ 1 ] && arguments[ 1 ].constructor == Boolean ) ? 151 154 arguments[ 1 ] : false 155 ), 156 ( 157 ( arguments.length > 2 && arguments[ 2 ] && arguments[ 2 ].constructor == String ) ? 158 arguments[ 2 ] : null 152 159 ) 153 160 ); -
trunk/phpgwapi/js/tools/xobject.js
r2665 r2712 21 21 String.prototype.trim = function( ) 22 22 { 23 return this.replace( /^ +|+$/g, '' );23 return this.replace( /^\s+|\s+$/g, '' ); 24 24 }; 25 25
Note: See TracChangeset
for help on using the changeset viewer.