baseconstituyenteestudiantesgeneralplan_patriasala
Last change
on this file since 0ff122b was
0ff122b,
checked in by rudmanmrrod <rudman22@…>, 7 años ago
|
Agregado módulo de gestión de perfiles de procesamiento, incorporado el módulo de visualización de modelado de tópicos
|
-
Propiedad mode establecida a
100755
|
File size:
882 octetos
|
Línea | |
---|
1 | var fulltext = fulltext || {}; |
---|
2 | |
---|
3 | /* htrc.popover |
---|
4 | * Create a popover for HTRC content |
---|
5 | * */ |
---|
6 | fulltext.popover = function(elt) { |
---|
7 | if (!($(elt).data('popover'))) { |
---|
8 | var docid = $(elt).data('doc-id'); |
---|
9 | $.get('/fulltext/'+docid, function (data) { |
---|
10 | $(elt).popover({ |
---|
11 | html: true, |
---|
12 | content : data, |
---|
13 | title : docid, |
---|
14 | container : 'body' |
---|
15 | }); |
---|
16 | |
---|
17 | // append close button to title. |
---|
18 | var title = $(elt).data('popover').options.title; |
---|
19 | $(elt).data('popover').options.title = '<button type="button" class="close" data-dismiss="popover">×</button>' + title; |
---|
20 | $(elt).data('popover').tip() |
---|
21 | .on('click', '[data-dismiss="popover"]', function(e) { $(elt).popover('hide'); }) |
---|
22 | .css({maxWidth: "640px", zIndex: '1100'}); |
---|
23 | |
---|
24 | // manually show popover, instead of just initialize |
---|
25 | $(elt).popover('show'); |
---|
26 | }); |
---|
27 | } |
---|
28 | } |
---|
Nota: Vea
TracBrowser
para ayuda de uso del navegador del repositorio.