correct filename cases

git-svn-id: https://plugins.svn.wordpress.org/pagemash/trunk@75221 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
jmash 2008-11-21 15:35:39 +00:00
parent e6ffec40b3
commit 6877a300d7
4 changed files with 4 additions and 4 deletions

View File

@ -45,11 +45,11 @@ Ajax = Ajax.extend({
} }
}); });
/* function to retrieve list data and send to server in JSON format */ /* function to retrieve list data and send to server in JSON format */
var SaveList = function() { var saveList = function() {
var theDump = sortIt.serialize(); var theDump = sortIt.serialize();
console.group('Database Update'); console.group('Database Update');
console.time('Update Chronometer'); console.time('Update Chronometer');
new Ajax('../wp-content/plugins/pagemash/saveList.php', { new Ajax('../wp-content/plugins/pagemash/savelist.php', {
method: 'post', method: 'post',
postBody: 'm='+Json.toString(theDump), postBody: 'm='+Json.toString(theDump),
update: "debug_list", update: "debug_list",
@ -116,7 +116,7 @@ window.addEvent('domready', function(){
$('pageMash_submit').addEvent('click', function(e){ $('pageMash_submit').addEvent('click', function(e){
e = new Event(e); e = new Event(e);
SaveList(); saveList();
e.stop(); e.stop();
}); });

View File

@ -146,7 +146,7 @@ function pageMash_head(){
wp_deregister_script('prototype');//remove prototype since it is incompatible with mootools wp_deregister_script('prototype');//remove prototype since it is incompatible with mootools
wp_enqueue_script('pagemash_mootools', $pageMash_url.'/nest-mootools.v1.11.js', false, false); //code is not compatible with other releases of moo wp_enqueue_script('pagemash_mootools', $pageMash_url.'/nest-mootools.v1.11.js', false, false); //code is not compatible with other releases of moo
wp_enqueue_script('pagemash_nested', $pageMash_url.'/nested.js', array('pagemash_mootools'), false); wp_enqueue_script('pagemash_nested', $pageMash_url.'/nested.js', array('pagemash_mootools'), false);
wp_enqueue_script('pagemash_inlineEdit', $pageMash_url.'/inlineEdit.v1.2.js', array('pagemash_mootools'), false); wp_enqueue_script('pagemash_inline_edit', $pageMash_url.'/inline-edit.v1.2.js', array('pagemash_mootools'), false);
wp_enqueue_script('pagemash', $pageMash_url.'/pagemash.js', array('pagemash_mootools'), false); wp_enqueue_script('pagemash', $pageMash_url.'/pagemash.js', array('pagemash_mootools'), false);
add_action('admin_head', 'pageMash_add_css', 1); add_action('admin_head', 'pageMash_add_css', 1);
if(function_exists('wp_enqueue_style')){ if(function_exists('wp_enqueue_style')){