Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
ckeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vanilla ckeditor-3.4.1
[ckeditor.git]
/
_samples
/
api_dialog.html
diff --git
a/_samples/api_dialog.html
b/_samples/api_dialog.html
index
2620625
..
1ccc542
100644
(file)
--- a/
_samples/api_dialog.html
+++ b/
_samples/api_dialog.html
@@
-87,6
+87,13
@@
CKEDITOR.on( 'dialogDefinition', function( ev )
}
\r
]
\r
});
\r
}
\r
]
\r
});
\r
+
\r
+ // Rewrite the 'onFocus' handler to always focus 'url' field.
\r
+ dialogDefinition.onFocus = function()
\r
+ {
\r
+ var urlField = this.getContentElement( 'info', 'url' );
\r
+ urlField.select();
\r
+ };
\r
}
\r
});
\r
\r
}
\r
});
\r
\r