Firstrun will open the options.

This commit is contained in:
Nicolas Stepien 2011-11-26 22:41:29 +01:00
parent 69e465ea5b
commit 7c103f99f2
2 changed files with 8 additions and 1 deletions

View File

@ -1228,7 +1228,11 @@
href: 'javascript:;'
});
$.on(a, 'click', options.dialog);
return $.replace(home, a);
$.replace(home, a);
if (!$.get('firstrun')) {
options.dialog();
return $.set('firstrun', true);
}
},
dialog: function() {
var arr, back, checked, description, dialog, hiddenNum, hiddenThreads, input, key, li, obj, overlay, ta, time, ul, _i, _j, _len, _len2, _ref, _ref2, _ref3;

View File

@ -882,6 +882,9 @@ options =
href: 'javascript:;'
$.on a, 'click', options.dialog
$.replace home, a
unless $.get 'firstrun'
options.dialog()
$.set 'firstrun', true
dialog: ->
dialog = ui.dialog 'options', '', '