#1340 late_javascript_tag
This commit is contained in:
parent
5aa96a32fc
commit
53582a46c4
@ -30,7 +30,7 @@ module DmsfHelper
|
||||
unless Redmine::Plugin.installed?(:easy_extensions)
|
||||
|
||||
def late_javascript_tag(content_or_options_with_block = nil, html_options = {}, &block)
|
||||
javascript_tag content_or_options_with_block, html_options
|
||||
javascript_tag content_or_options_with_block, html_options, &block
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
@ -287,8 +287,14 @@ function dmsfSetupFileDrop() {
|
||||
}
|
||||
}
|
||||
|
||||
EASY.schedule.late(function () {
|
||||
dmsfSetupFileDrop();
|
||||
$(document).on("erui_new_dom", dmsfSetupFileDrop);
|
||||
});
|
||||
if(typeof EASY == "undefined"){
|
||||
$(document).ready(dmsfSetupFileDrop);
|
||||
}
|
||||
else {
|
||||
EASY.schedule.late(function () {
|
||||
dmsfSetupFileDrop();
|
||||
$(document).on("erui_new_dom", dmsfSetupFileDrop);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
28
db/migrate/20220317100901_add_patch_version.rb
Normal file
28
db/migrate/20220317100901_add_patch_version.rb
Normal file
@ -0,0 +1,28 @@
|
||||
# encoding: utf-8
|
||||
#
|
||||
# Redmine plugin for Document Management System "Features"
|
||||
#
|
||||
# Copyright © 2011-22 Karel Pičman <karel.picman@kontron.com>
|
||||
# Copyright © 2016-17 carlolars
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License
|
||||
# as published by the Free Software Foundation; either version 2
|
||||
# of the License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
class AddOwnerToDmsfLock < ActiveRecord::Migration[5.2]
|
||||
|
||||
def change
|
||||
add_column :dmsf_locks, :owner, :string, null: true
|
||||
end
|
||||
|
||||
end
|
||||
Loading…
x
Reference in New Issue
Block a user