All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.opensymphony.webwork.static.optiontransferselect.optiontransferselect.js Maven / Gradle / Ivy

// ===================================================================
// Author: Matt Kruse 
// WWW: http://www.mattkruse.com/
//
// NOTICE: You may use this code for any purpose, commercial or
// private, without any further permission from the author. You may
// remove this notice from your final code if you wish, however it is
// appreciated by the author if at least my web site address is kept.
//
// You may *NOT* re-distribute this code in any way except through its
// use. That means, you can include it in your product, or your web
// site, or any other form where the code is actually being used. You
// may not put the plain javascript up on your site for download or
// include it in your javascript libraries for download. 
// If you wish to share this code with others, please just point them
// to the URL instead.
// Please DO NOT link directly to my .js files from your site. Copy
// the files to your server and use them there. Thank you.
// ===================================================================

// HISTORY
// ------------------------------------------------------------------
// Jan 31, 2005: (tm_jee) alter selectAllOptions(obj) to ignore those option whose key
//               is empty.
// Jan 31, 2005: (tm_jee) added moveOptionUp(obj, regexp) to move obj up except when
//               obj's option's key is empty or if it matches the regexp
// Jan 31, 2005: (tm_jee) added moveOptionDown(obj, regexp) to move obj down except when
//               obj's option's key is empty or if it matches the regexp
// Jan 31, 2005: (tm_jee) altered moveOptionUp(obj) to ignore moving obj's option
//               up if its key is empty
// Jan 31, 2005: (tm_jee) altered moveOptionDown(obj) to ignore moving obj's option
//               down if its key is empty
// Jan 1, 2005:  (tm_jee) moveSelectedOptions(from, to) accept a 5th argument
//               that function exactly like the fourth (regexp)
// Jan 1, 2005:  (tm_jee) added unSelectMatchingOptionsBasedOnKey
// Jan 1, 2005:  (tm_jee) alter selectUnselectMatchingOptions(obj,regexp,which,only)
//               accept a 5th string agrument ('key' or 'text'). If key regexp
//               is matched on 
// Jan 1, 2005:  (tm_jee) alter selectUnselectMatchingOptions(obj,regexp,which,only)
//               when it is in 'key' mode to auto-unselect 




© 2015 - 2024 Weber Informatics LLC | Privacy Policy