Revert "simplify"
This reverts commit c6d9528c5c1b8c03ecc20fcf14c88393663cf451.
This commit is contained in:
parent
c6d9528c5c
commit
c9542f1790
@ -1007,9 +1007,12 @@
|
|||||||
$.append(overlay, dialog);
|
$.append(overlay, dialog);
|
||||||
$.append(d.body, overlay);
|
$.append(d.body, overlay);
|
||||||
options.cb.time.call($('input[name=time]', dialog));
|
options.cb.time.call($('input[name=time]', dialog));
|
||||||
return $.bind(overlay, 'click', function() {
|
$.bind(overlay, 'click', function() {
|
||||||
return $.rm(overlay);
|
return $.rm(overlay);
|
||||||
});
|
});
|
||||||
|
return $.bind(dialog.firstElementChild, 'click', function(e) {
|
||||||
|
return e.stopPropagation();
|
||||||
|
});
|
||||||
},
|
},
|
||||||
tab: function() {
|
tab: function() {
|
||||||
var content, div, _i, _len, _results;
|
var content, div, _i, _len, _results;
|
||||||
|
|||||||
@ -790,6 +790,7 @@ options =
|
|||||||
options.cb.time.call $('input[name=time]', dialog)
|
options.cb.time.call $('input[name=time]', dialog)
|
||||||
|
|
||||||
$.bind overlay, 'click', -> $.rm overlay
|
$.bind overlay, 'click', -> $.rm overlay
|
||||||
|
$.bind dialog.firstElementChild, 'click', (e) -> e.stopPropagation()
|
||||||
|
|
||||||
tab: ->
|
tab: ->
|
||||||
content = $$ '#main, #flavors, #time'
|
content = $$ '#main, #flavors, #time'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user