Permalink
Browse files

BUG remove obsolete hooks

  • Loading branch information...
michalochman committed Aug 8, 2012
1 parent 30f4bab commit 44327aec1000aae23dc94af7ed9d67968aaf6725
Showing with 0 additions and 20 deletions.
  1. +0 −20 features/bootstrap/SilverStripe/Test/Behaviour/BasicContext.php
@@ -48,26 +48,6 @@ public function getSession($name = null)
return $this->getMainContext()->getSession($name);
}
- /**
- * @BeforeStep @javascript
- */
- public function beforeStep($event)
- {
- if (preg_match('/(go to|follow|press|click|submit)/i', $event->getStep()->getText())) {
- $this->ajaxClickHandler_before();
- }
- }
-
- /**
- * @AfterStep @javascript
- */
- public function afterStep($event)
- {
- if (preg_match('/(go to|follow|press|click|submit)/i', $event->getStep()->getText())) {
- $this->ajaxClickHandler_after();
- }
- }
-
/**
* Hook into jQuery ajaxStart, ajaxSuccess and ajaxComplete events.
* Prepare __ajaxStatus() functions and attach them to these handlers.

0 comments on commit 44327ae

Please sign in to comment.