plxdcma_modal_textlistinputsimple 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/js.js +5 -1
- package/modal.ejs +4 -0
- package/package.json +1 -1
package/js.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var opxmin=null
|
|
2
|
-
function openTextListModal(pretexts,rfunc){
|
|
2
|
+
function openTextListModal(pretexts,rfunc,infieriorhtml){
|
|
3
3
|
opxmin=rfunc
|
|
4
4
|
TextsListModal.style.display="block"
|
|
5
5
|
oplxlistmodalcontainer.innerHTML=""
|
|
@@ -11,6 +11,10 @@ function openTextListModal(pretexts,rfunc){
|
|
|
11
11
|
pxText.onkeyup=daKeyUp.bind({pxText:pxText})
|
|
12
12
|
listmodalcontainer.appendChild(pxText)
|
|
13
13
|
}
|
|
14
|
+
|
|
15
|
+
if(infieriorhtml != null){
|
|
16
|
+
TextsListModalinfieriorhtml.innerHTML=infieriorhtml
|
|
17
|
+
}
|
|
14
18
|
}
|
|
15
19
|
function daKeyUp(){
|
|
16
20
|
var t=this.pxText.innerText.trim()
|
package/modal.ejs
CHANGED
|
@@ -9,5 +9,9 @@
|
|
|
9
9
|
<button onclick="appendtencoi()" class="defaultbtn" type="button" name="button">+</button>
|
|
10
10
|
<br/><br/><br/>
|
|
11
11
|
<button onclick="procedemin2x()" class="defaultbtn" type="button" name="button">Listo</button>
|
|
12
|
+
<br/><br/><br/>
|
|
13
|
+
<div id="TextsListModalinfieriorhtml">
|
|
14
|
+
|
|
15
|
+
</div>
|
|
12
16
|
</div>
|
|
13
17
|
</div>
|