| 12345678910111213141516171819202122232425262728293031323334 |
- import EditorEvents = require("../../editor/EditorEvents");
- import EditorUI = require("../EditorUI");
- import ModalWindow = require("../modal/ModalWindow");
- class ActivationSuccessWindow extends ModalWindow {
- constructor() {
- super();
- this.init("Product Activation Successful", "AtomicEditor/editor/ui/activationsuccess.tb.txt");
- }
- handleWidgetEvent(ev: Atomic.UIWidgetEvent) {
- if (ev.type == Atomic.UI_EVENT_TYPE_CLICK) {
- var id = ev.target.id;
- if (id == "ok") {
- this.hide();
- return true;
- }
- }
- }
- }
- export = ActivationSuccessWindow;
|