Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

SAKIII-5002 Can tab out of the unsaved version overlay.

  • Loading branch information...
commit 986dd412c6f8b7e92e6b9856af49b5e67bfb2958 1 parent 0b925b6
@bp323 bp323 authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 devwidgets/htmlblock/javascript/htmlblock.js
View
4 devwidgets/htmlblock/javascript/htmlblock.js
@@ -166,7 +166,9 @@ require(["jquery", "sakai/sakai.api.core"], function($, sakai) {
$(".contentauthoring_cell_element_actions").hide();
});
ed.onInit.add(function(ed) {
- ed.focus();
+ if(!$(".s3d-dialog:visible").length){
+ ed.focus();
+ }
$(".contentauthoring_cell_element_actions").hide();
var t = setTimeout(function(){
$(".htmlblock_widget", $rootel).parents(".contentauthoring_cell_element").removeClass("contentauthoring_init");
Please sign in to comment.
Something went wrong with that request. Please try again.