Skip to content

Commit

Permalink
- Fix drag and drop
Browse files Browse the repository at this point in the history
- Added doctype
  • Loading branch information
sp0tteh committed Sep 3, 2013
1 parent 431fced commit e34fbc8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions demo.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<html>
<head>
<title>Codeception IDE Demo</title>
Expand Down
3 changes: 2 additions & 1 deletion src/content/formats/php-codeception.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ function formatCommand(command, indent) {
break;
case 'dragAndDropToObject':
var target = getSelector(command.target);
result += '->dragAndDrop("'+target+'", "'+command.value+'");\n';
var value = getSelector(command.value);
result += '->dragAndDrop("'+target+'", "'+value+'");\n';
break;
case 'assertText':
if (command.target.substring(0, 4) === 'link') {
Expand Down

0 comments on commit e34fbc8

Please sign in to comment.