Skip to content

Commit

Permalink
Removing deprecated prototype/behaviour libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Harvey committed Nov 15, 2012
1 parent 4651e9b commit 6a868e7
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 8,096 deletions.
2 changes: 1 addition & 1 deletion control/Director.php
Expand Up @@ -722,7 +722,7 @@ public static function forceWWW() {

/**
* Checks if the current HTTP-Request is an "Ajax-Request"
* by checking for a custom header set by prototype.js or
* by checking for a custom header set by jQuery or
* wether a manually set request-parameter 'ajax' is present.
*
* @return boolean
Expand Down
3 changes: 0 additions & 3 deletions dev/Debug.php
Expand Up @@ -406,9 +406,6 @@ public static function showError($errno, $errstr, $errfile, $errline, $errcontex
}
}

// Legacy error handling for customized prototype.js Ajax.Base.responseIsSuccess()
// if(Director::is_ajax()) echo "ERROR:\n";

$reporter = self::create_debug_view();

// Coupling alert: This relies on knowledge of how the director gets its URL, it could be improved.
Expand Down
2 changes: 1 addition & 1 deletion forms/InlineFormAction.php
@@ -1,7 +1,7 @@
<?php
/**
* Render a button that will submit the form its contained in through ajax.
* If you want to add custom behaviour, please set {@link inlcudeDefaultJS()} to FALSE and work with behaviour.js.
* If you want to add custom behaviour, please set {@link inlcudeDefaultJS()} to FALSE
*
* @see framework/javascript/InlineFormAction.js
*
Expand Down
94 changes: 0 additions & 94 deletions thirdparty/behaviour/README.md

This file was deleted.

0 comments on commit 6a868e7

Please sign in to comment.