- function PubmarkDialog(element, options){
- if (!options.revision && options.revision != 0)
- throw "PubmarkDialog needs a revision number.";
+ class PubmarkDialog extends $.wiki.cls.GenericDialog {
+ constructor(element, options) {
+ if (!options.revision && options.revision != 0)
+ throw "PubmarkDialog needs a revision number.";