{"content":"<a class=\"hidden cobUrl jssmLink\" href=\"\/file\/detail ...

vainclamInternet και Εφαρμογές Web

14 Δεκ 2013 (πριν από 3 χρόνια και 10 μήνες)

87 εμφανίσεις

{"content":"<a class=\"hidden cobUrl jssmLink\" href=\"\/file\/detail\/Marine+animals+without+a+backbone+key+terms.docx\">&nbsp;<\/a>\n\n\n<div class=\"row-fluid cobControlRow\">\n <div class=\"span12\">\n <div class=\"btn-group\">\n <form class=\"cobSearchForm\" action=\"#\" method=\"get\"><input type=\"hidden\" name=\"wikispacesFormToken\" value=\"d415981e039e1a99e0ed5daab2ca7e8ed5f461fb\"\/>\n <div class=\"input-append\">\n <input type=\"text\" class=\"input-medium\" name=\"q\" value=\"\" placeholder=\"Filename\" \/>\n <button type=\"submit\" class=\"btn\" name=\"search\" value=\"1\">Search<\/button>\n <\/div>\n <a class=\"searchLink jssmLink hidden\" href=\"\/file\/detail\/Marine+animals+without+a+backbone+key+terms.docx\">&nbsp;<\/a>\n<\/form> <input type=\"hidden\" class=\"lastQ\" value=\"\" \/>\n <\/div>\n <a href=\"#\" class=\"btn filter-link\">Filter<\/a>\n\n <\/div>\n<\/div>\n\n<div class=\"filter-row row-fluid\" style=\"display: none\">\n <a class=\"teamFi
Jun 10
2013 4:59 pm\">Jun 10
2013<\/abbr>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>"
notices:{"warning":[]
error:[]
info:[]
success:[]}
redirectUrl:null
javascript:"\n\njQuery(document).ready(function($) {\n $('.WikispacesTooltip').tipsy({ live: true });\n\n $wrapper = $('.cobWrapper');\n\n function setupFilters() {\n ws.cob.initFilterRow($wrapper);\n\n $('.filter-row select').selectpicker();\n $('.bootstrap-select').removeClass('hidden').find('button').addClass('btn-small');\n\n var filter = $('#tag-filter');\n ws.select2.tagFilter(filter.find('input[name=\"tag\"]')
{\n ajax: {\n url: function() {\n return ws.common.pathFor('tag'
'listjson'
$('.showType').val());\n }
\n data: function(term
page) {\n return $.extend(ws.select2.tagFilterDefaults.ajax.data.call(this
term
page)
{\n 'showTeams': $('.showTeams').val()
\n 'oq': $('.lastQ').val()\n });\n }\n }\n }).change(function(e) {\n var $this = $(this);\n _.defer(function() {\n $this.data('select2').blur();\n });\n $this.on('select2-focus'
function() {\n $this.data('select2').blur();\n });\n $this.data('select2').blur();\n });\n };\n\n ws.cob.addCallback(setupFilters);\n setupFilters();\n\n $wrapper.on({\n mouseenter: function() {\n $(this).popover({html: true
container: '.cobWrapper'
trigger: 'manual'});\n $(this).popover('show');\n }
\n mouseleave: function() {\n $(this).popover('hide');\n }\n }
'.js-file-preview');\n\n function closeOldPopover(e) {\n var oldPopoverTarget = $wrapper.data('ws-old-popover-target');\n if (!oldPopoverTarget) {\n return true;\n }\n\n var popover = $(oldPopoverTarget).data('popover').tip();\n if (popover.find('.WikiTagFormEdit').length\n || $(e.target).closest(popover).length) {\n return false;\n }\n\n $(oldPopoverTarget).popover('hide');\n $wrapper.removeData('ws-old-popover-target');\n return e.currentTarget !== oldPopoverTarget;\n }\n\n $wrapper.on('click'
'.js-file-operations'
function(e) {\n e.preventDefault();\n e.stopPropagation();\n\n if (!closeOldPopover(e)) {\n return;\n }\n\n $wrapper.data('ws-old-popover-target'
e.currentTarget);\n $(e.currentTarget).popover({html: true
trigger: 'manual'}).popover('show');\n $(e.currentTarget).data('popover').setContent = function() {\n var $tip = this.tip();\n $tip.removeClass('fade top bottom left right in');\n };\n $(e.currentTarget).data('popover').tip().css('max-width'
'600px');\n });\n\n $('body').click(function(e) {\n closeOldPopover(e);\n });\n});\n\n\n\njQuery(document).ready(function() {\n jQuery('.cobWrapper').on('submit'
'form.cobSearchForm'
function(e) {\n var form = jQuery(this);\n var link = form.find('.searchLink');\n var query = form.find('input[name=\"q\"]').val();\n if (query) {\n link.attr('href'
ws.common.addUriParams(link.attr('href')
[['q'
query]]));\n }\n link.click();\n e.preventDefault();\n return false;\n });\n});\n\n\njQuery(document).ready(function($) {\n $('.WikispacesTooltip').tipsy({live: true});\n});\n\n"}
query]]));\n }\n link.click();\n e.preventDefault();\n return false;\n });\n});\n\n\njQuery(document).ready(function($) {\n $('.WikispacesTooltip').tipsy({live: true});\n});\n\n"}
query]]));\n }\n link.click();\n e.preventDefault();\n return false;\n });\n});\n\n\njQuery(document).ready(function($) {\n $('.WikispacesTooltip').tipsy({live: true});\n});\n\n"}