Browse Source

correct filename cases

git-svn-id: https://plugins.svn.wordpress.org/pagemash/trunk@75221 b8457f37-d9ea-0310-8a92-e5e31aec5664
master
jmash 14 years ago
parent
commit
6877a300d7
4 changed files with 4 additions and 4 deletions
  1. +0
    -0
      inline-edit.v1.2.js
  2. +3
    -3
      pagemash.js
  3. +1
    -1
      pagemash.php
  4. +0
    -0
      savelist.php

inlineEdit.v1.2.js → inline-edit.v1.2.js View File


+ 3
- 3
pagemash.js View File

@ -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();
});

+ 1
- 1
pagemash.php View File

@ -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')){

saveList.php → savelist.php View File


Loading…
Cancel
Save