From 6877a300d778c6d933beb4a3f0c371ae95ba2c88 Mon Sep 17 00:00:00 2001 From: jmash Date: Fri, 21 Nov 2008 15:35:39 +0000 Subject: [PATCH] correct filename cases git-svn-id: https://plugins.svn.wordpress.org/pagemash/trunk@75221 b8457f37-d9ea-0310-8a92-e5e31aec5664 --- inlineEdit.v1.2.js => inline-edit.v1.2.js | 0 pagemash.js | 6 +++--- pagemash.php | 2 +- saveList.php => savelist.php | 0 4 files changed, 4 insertions(+), 4 deletions(-) rename inlineEdit.v1.2.js => inline-edit.v1.2.js (100%) rename saveList.php => savelist.php (100%) diff --git a/inlineEdit.v1.2.js b/inline-edit.v1.2.js similarity index 100% rename from inlineEdit.v1.2.js rename to inline-edit.v1.2.js diff --git a/pagemash.js b/pagemash.js index cd73478..52f6e47 100644 --- a/pagemash.js +++ b/pagemash.js @@ -45,11 +45,11 @@ Ajax = Ajax.extend({ } }); /* function to retrieve list data and send to server in JSON format */ -var SaveList = function() { +var saveList = function() { var theDump = sortIt.serialize(); console.group('Database Update'); console.time('Update Chronometer'); - new Ajax('../wp-content/plugins/pagemash/saveList.php', { + new Ajax('../wp-content/plugins/pagemash/savelist.php', { method: 'post', postBody: 'm='+Json.toString(theDump), update: "debug_list", @@ -116,7 +116,7 @@ window.addEvent('domready', function(){ $('pageMash_submit').addEvent('click', function(e){ e = new Event(e); - SaveList(); + saveList(); e.stop(); }); diff --git a/pagemash.php b/pagemash.php index 13a6474..d73e252 100644 --- a/pagemash.php +++ b/pagemash.php @@ -146,7 +146,7 @@ function pageMash_head(){ 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_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); add_action('admin_head', 'pageMash_add_css', 1); if(function_exists('wp_enqueue_style')){ diff --git a/saveList.php b/savelist.php similarity index 100% rename from saveList.php rename to savelist.php