Created
October 27, 2011 19:34
-
-
Save mikedfunk/1320609 to your computer and use it in GitHub Desktop.
prevent link defaults, enable tinymce
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* admin actions | |
* | |
* Seperated from javascript functions for testing. | |
* | |
* @license Copyright Xulon Press, Inc. All Rights Reserved. | |
* @author Xulon Press | |
* @link http://xulonpress.com | |
* @email info@xulonpress.com | |
* | |
* @file | |
* @version 1.0 | |
* @date 10/02/2011 | |
* | |
* Copyright (c) 2011 | |
*/ | |
// -------------------------------------------------------------------------- | |
/** | |
* document ready | |
*/ | |
$(function() | |
{ | |
// -------------------------------------------------------------------------- | |
/** | |
* prevent link defaults | |
*/ | |
$('html').delegate('a:not(.follow_link), a.disabled', 'click', function(e) | |
{ | |
e.preventDefault(); | |
// $(this).address(); | |
}); | |
// -------------------------------------------------------------------------- | |
/** | |
* apply tinymce | |
*/ | |
$('.rich_text').tinymce({script_url: './assets/scripts/tinymce/jscripts/tiny_mce/tiny_mce.js'}); | |
// -------------------------------------------------------------------------- | |
}); | |
/* End of file admin_actions.js */ | |
/* Location: ./booktrack/assets/scripts/admin_actions.js */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment